C++ Complementary Library
Constructs a string I/O resource with the given buffer capacity.
The capacity of the I/O buffer. If this is zero, the string I/O resource is completely unbuffered.
Constructs a string I/O resource with the given initial content and buffer capacity.
The content that this string I/O resource will start with.
The capacity of the I/O buffer. If this is zero, the string I/O resource is completely unbuffered.
Returns true if this string I/O resource is at the end of its contained string. Otherwise, returns false.
Returns a non-constant reference to the contained string.
Returns a constant reference to the contained string.
Returns the position <#/this> string I/O resource is at, that is, the position at which read and write operations will take place next.
Reads byte_count bytes from this string I/O resource 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 input resource.
The kind of read request that is being issued to this string I/O resource.
Writes byte_count bytes from the data array to this string I/O resource.
The array of bytes that will be written to this string I/O resource.
The number of bytes to write to this string I/O resource.
Copyright © 2022-2025 Daniel T. McGinnis