JanetDocsPlaygroundI'm feeling luckyGitHub sign in

ffi/read



    cfunction
    src/core/ffi.c on line 1386, column 1

    (ffi/read ffi-type bytes &opt offset)

    Parse a native struct out of a buffer and convert it to normal 
    Janet data structures. This function is the inverse of `ffi/write`. 
    `bytes` can also be a raw pointer, although this is unsafe.


0 examplesSign in to add an example
Loading...