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