byteme
C++ wrappers for buffered inputs
|
Simple byte readers and writers. More...
Classes | |
class | ChunkedBufferReader |
Read chunks of bytes from a raw buffer. More... | |
class | GzipFileReader |
Read uncompressed bytes from a Gzip-compressed file. More... | |
struct | GzipFileReaderOptions |
Options for GzipFileReader construction. More... | |
class | GzipFileWriter |
Write uncompressed bytes to a Gzip-compressed file. More... | |
struct | GzipFileWriterOptions |
Options for GzipFileWriter construction. More... | |
class | IstreamReader |
Read bytes from a std::istream . More... | |
struct | IstreamReaderOptions |
Options for IstreamReader construction. More... | |
class | OstreamWriter |
Read bytes from a std::ostream . More... | |
class | PerByteInterface |
Interface for byte-by-byte extraction from a Reader source. More... | |
class | PerByteParallel |
Parallelized byte-by-byte extraction from a Reader source. More... | |
class | PerByteSerial |
Serial byte-by-byte extraction from a Reader source. More... | |
class | RawBufferReader |
Read bytes from a raw buffer, usually text. More... | |
class | RawBufferWriter |
Write bytes to a raw buffer. More... | |
struct | RawBufferWriterOptions |
Options for the RawBufferWriter constructor. More... | |
class | RawFileReader |
Read bytes from a file, usually text. More... | |
struct | RawFileReaderOptions |
Options for the RawFileReader constructor. More... | |
class | RawFileWriter |
Write bytes to a file. More... | |
struct | RawFileWriterOptions |
Options for the RawFileWriter constructor. More... | |
class | Reader |
Virtual class for reading bytes from a source. More... | |
class | SomeBufferReader |
Read a buffer that may or may not be Gzip/Zlib-compressed. More... | |
struct | SomeBufferReaderOptions |
Options for the SomeBufferReader constructor. More... | |
class | SomeFileReader |
Read a file that may or may not be Gzipped. More... | |
struct | SomeFileReaderOptions |
Options for the SomeFileReader constructor. More... | |
class | Writer |
Virtual class for writing bytes to a sink. More... | |
class | ZlibBufferReader |
Read and decompress bytes from a Zlib-compressed buffer. More... | |
struct | ZlibBufferReaderOptions |
Options for the ZlibBufferReader constructor. More... | |
class | ZlibBufferWriter |
Compress and write bytes to a Zlib-compressed buffer. More... | |
struct | ZlibBufferWriterOptions |
Options for the ZlibBufferWriter constructor. More... | |
Functions | |
std::string | temp_file_path (const std::string &prefix, const std::string &ext) |
std::string | temp_file_path (const std::string &prefix) |
Simple byte readers and writers.
|
inline |
prefix | Prefix of the basename of the file. |
temp_file_path()
for more details.
|
inline |
prefix | Prefix of the basename of the file. |
ext | File extension. |
This function is wholly intended for unit testing in byteme and downstream libraries. Production use should use OS-specific thread-safe alternatives such as mkstemp()
.