C++ Complementary Library
An input stream is an object that reads data from an input resource.
There are two kinds of input streams in CCL: data input streams, which read binary data from its input resource, and text input streams, which read text from its input resource.
The input_stream class template serves as the foundation for both data input streams and text input streams.
The type of the referenced input resource.
Constructs an input stream with the given input resource and endianness.
The input resource this stream will read from.
The endianness the data is expected to be in.
Copy-constructs an input_stream from an existing one.
The input_stream to copy from.
Copy-assigns an input_stream into this one.
The input_stream to copy from.
Move-constructs an input_stream from an existing one.
The input_stream to move from.
Move-assigns an input_stream into this one.
The input_stream to move from.
Returns a non-constant reference to the referenced input resource.
Returns a constant reference to the referenced input resource.
Returns the endianness associated with this input stream.
Sets the endianness associated with this input stream.
The new endianness to use with this input stream.
Tells whether this stream's input resource is at its end.
Reads byte_count bytes from this stream's input 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 stream's input resource.
Returns a pointer to the referenced input resource, enabling use of the arrow operator.
Copyright © 2022-2025 Daniel T. McGinnis