JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

buffer/clear

core-api


    cfunction
    src/core/buffer.c on line 505, column 1

    (buffer/clear buf)

    Sets the size of a buffer, `buf`, to 0 and empties it. `buf` 
    retains its memory so it can be efficiently refilled. Returns 
    `buf`.


0 examplesSign in to add an example
Loading...