This interface ensures that at least "N" more bytes are available
in the underlying buffer by resizing the buffer (if necessary).
Note that no bounds checking is done on any of the put routines,
so it is the client's responsibility to call Ensure() at
appropriate intervals to ensure that enough space is available
for the data being added.
This interface ensures that at least "N" more bytes are available in the underlying buffer by resizing the buffer (if necessary).
Note that no bounds checking is done on any of the put routines, so it is the client's responsibility to call Ensure() at appropriate intervals to ensure that enough space is available for the data being added.