C++ Complementary Library
An output stream is an object that writes data to an output resource.
There are two kinds of output streams in CCL: data output streams, which write binary data to its output resource, and text output streams, which write text to its output resource.
The output_stream class template serves as the foundation for both data output streams and text output streams.
The type of the referenced output resource.
Constructs an output stream with the given output resource and endianness.
The output resource this stream will write to.
The endianness to write the data in.
Copy-constructs an output_stream from an existing one.
The output_stream to copy from.
Copy-assigns an output_stream into this one.
The output_stream to copy from.
Move-constructs an output_stream from an existing one.
The output_stream to move from.
Move-assigns an output_stream into this one.
The output_stream to move from.
Returns a non-constant reference to the referenced output resource.
Returns a constant reference to the referenced output resource.
Returns the endianness associated with this output stream.
Sets the endianness associated with this output stream.
The new endianness to use with this output stream.
Tells whether this stream's output resource is at its end.
Writes byte_count bytes from the data array to this stream's output resource.
The array of bytes that will be written to this stream's output resource.
The number of bytes to write to this stream's output resource.
Reverses the order of the bytes in the data array and then writes them to this stream's output resource.
The bytes that will be reversed and written to this stream's output resource.
The number of bytes to reverse and write to this stream's output resource.
Flushes the stream's output resource, ensuring that any data that has previously been requested to be written out actually gets written out.
Returns a pointer to the referenced output resource, enabling use of the arrow operator.
Copyright © 2022-2025 Daniel T. McGinnis