cfunction
src/core/buffer.c on line 490 , column 1
(buffer/push buf & xs )
Push both single bytes and bytes type values to a buffer , `buf` .
Values in `xs` that are bytes are pushed to `buf` as bytes , while
bytes type values have their individual bytes pushed. Thus , this
function behaves like both `buffer/push-byte` and
`buffer/push-string` . Returns `buf` . Expands `buf` as needed.
Throws an error if size limit is exceeded.
(def buf-bytes 12 )
(var new-buffer (buffer/new buf-bytes )) #--> @""
(buffer/push new-buffer "hello, world" ) #--> @"hello, world"