C++ Complementary Library
An I/O buffer stores data temporarily to optimize the operation of transfer resources.
Constructs an I/O buffer with the given capacity.
The capacity to use for the I/O buffer.
Copy-constructs an io_buffer from an existing one.
The io_buffer to copy from.
Copy-assigns an io_buffer into this one.
The io_buffer to copy from.
Move-constructs an io_buffer from an existing one.
The io_buffer to move from.
Move-assigns an io_buffer into this one.
The io_buffer to move from.
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