JanetDocsPlaygroundI'm feeling luckyGitHub sign in

buffer/push



    cfunction

    (buffer/push buffer & xs)

    Push both individual bytes and byte sequences to a buffer. For each x
    in xs, push the byte if x is an integer, otherwise push the
    bytesequence to the buffer. Thus, this function behaves like both
    `buffer/push-string` and `buffer/push-byte`. Returns the modified
    buffer. Will throw an error if the buffer overflows.


0 examplesSign in to add an example
Loading...