DNA Calib 1.1
Project brief
|
#include <Concepts.h>
Public Member Functions | |
virtual std::size_t | read (char *destination, std::size_t size)=0 |
Read bytes from stream into the given buffer. More... | |
virtual std::size_t | read (Writable *destination, std::size_t size)=0 |
Read bytes from this stream into the given stream. More... | |
Protected Member Functions | |
virtual | ~Readable () |
|
protectedvirtualdefault |
|
pure virtual |
Read bytes from stream into the given buffer.
destination | Destination buffer into which the data is going to be read from the stream. |
size | Number of bytes to read from stream. |
Implemented in trio::FileStreamImpl, trio::MemoryMappedFileStreamFallback, trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryReader, and trio::MemoryStreamImpl.
Referenced by trio::FileStreamImpl::write(), trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryWriter::write(), and trio::MemoryStreamImpl::write().
|
pure virtual |
Read bytes from this stream into the given stream.
destination | Destination stream into which the data is going to be read from this stream. |
size | Number of bytes to read from stream. |
Implemented in trio::FileStreamImpl, trio::MemoryMappedFileStreamFallback, trio::anonymous_namespace{MemoryStreamImpl.cpp}::MemoryReader, and trio::MemoryStreamImpl.