Expand description
Janet buffer (string) type.
Structs§
- Janet buffers are the mutable version of
JanetStrings
. Since Janet strings can hold any sequence of bytes, including zeros, buffers share this same property and can be used to hold any arbitrary memory, which makes them very simple but versatile data structures. They can be used to accumulate small strings into a large string, to implement a bitset, or to represent sound or images in a program.