C++ Complementary Library
Constructs an I/O buffer with the given capacity.
The capacity to use for the I/O buffer.
Returns the capacity of this I/O buffer.
Returns the size of this I/O buffer.
Sets the size of this I/O buffer.
The new size of this I/O buffer.
Returns the position of this I/O buffer.
Sets the position of this I/O buffer.
The new position of this I/O buffer.
Returns a pointer to the beginning of this I/O buffer's data.
Returns true if this I/O buffer is read-dirty. Otherwise, returns false.
Sets whether this I/O buffer is read-dirty.
The new read-dirty flag for this I/O buffer.
Returns true if this I/O buffer is write-dirty. Otherwise, returns false.
Sets whether this I/O buffer is write-dirty.
The new write-dirty flag for this I/O buffer.
Reads byte_count bytes from this I/O buffer and places them in the provided data array.
The array into which the read bytes will be placed.
The number of bytes to read from this I/O buffer.
Writes byte_count bytes from the data array to this I/O buffer.
The array of bytes that will be written to this I/O buffer.
The number of bytes to write to this I/O buffer.
Copyright © 2022-2025 Daniel T. McGinnis