|
StormByte C++ Library: Buffer module 0.0.9999
StormByte-Buffer is a StormByte library module for handling buffers
|
Interface for reading data from an external source. More...
#include <external.hxx>


Public Member Functions | |
| ExternalReader () noexcept=default | |
| Construct ExternalReader. | |
| ExternalReader (const ExternalReader &other)=default | |
| Construct ExternalReader. | |
| ExternalReader (ExternalReader &&other) noexcept=default | |
| Move constructor. | |
| virtual | ~ExternalReader () noexcept=default |
| Destructor. | |
| ExternalReader & | operator= (const ExternalReader &other)=default |
| Assignment operator. | |
| ExternalReader & | operator= (ExternalReader &&other) noexcept=default |
| Move assignment operator. | |
| virtual bool | Read (std::size_t bytes, DataType &out) const noexcept=0 |
| Read data into the provided buffer. | |
| virtual bool | Read (std::size_t bytes, DataType &out) noexcept=0 |
| Read data into the provided buffer. | |
Interface for reading data from an external source.
This class defines the interface for reading data from an external source such as a file, network socket, or other I/O stream. It provides methods for reading data into a buffer.
|
default |
Construct ExternalReader.
| other | ExternalReader to copy from. |
|
defaultnoexcept |
Move constructor.
| other | ExternalReader to move from. |
|
default |
Assignment operator.
| other | ExternalReader to copy from. |
|
defaultnoexcept |
Move assignment operator.
| other | ExternalReader to move from. |
|
pure virtualnoexcept |
Read data into the provided buffer.
| bytes | Number of bytes to read. |
| out | DataType to fill with read data. |
Implemented in StormByte::Buffer::ExternalBufferReader.
|
pure virtualnoexcept |
Read data into the provided buffer.
| bytes | Number of bytes to read. |
| out | DataType to fill with read data. |
Implemented in StormByte::Buffer::ExternalBufferReader.