JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

ffi/write

core-api


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

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

    Append a native type 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 
    modified buffer or a new buffer if one is not supplied.


0 examplesSign in to add an example
Loading...