Return number of bytes of space remaining in buffer
This interface ensures that at least "N" more bytes are available in the underlying buffer by resizing the buffer (if necessary).
Return number of bytes encoded so far
Encodes into the OutputRange a raw object of a type with no indirections, e.g. no arrays, no classes, no pointers, etc.
Encodes into the OutputRange a range of objects in raw form.
Class for encoding data into a memory buffer