JanetDocsPlaygroundI'm feeling luckyGitHub sign in

ffi/write



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

    (ffi/write ffi-type data &opt buffer)

    Append a native tyep to a buffer such as it would appear in memory. 
    This can be used to pass pointers to structs in the ffi, or send 
    C/C++/native structs over the network or to files. Returns a 
    modifed buffer or a new buffer if one is not supplied.


0 examplesSign in to add an example
Loading...