#include <cartotype_stream.h>
A file input class for reading binary data from file which may be greater than 4Gb in size.
◆ Open()
Result CartoTypeCore::BinaryInputFile::Open |
( |
const char * |
aFileName | ) |
|
◆ OpenStandardInput()
void CartoTypeCore::BinaryInputFile::OpenStandardInput |
( |
| ) |
|
|
inline |
◆ Read()
size_t CartoTypeCore::BinaryInputFile::Read |
( |
uint8_t * |
aBuffer, |
|
|
size_t |
aBufferSize |
|
) |
| |
|
inline |
Reads up to aBufferSize bytes into aBuffer and returns the number of bytes actually read.
◆ Seek()
Result CartoTypeCore::BinaryInputFile::Seek |
( |
int64_t |
aOffset, |
|
|
int |
aOrigin |
|
) |
| |
|
inline |
Seeks to a byte position aOffset in the file; aOrigin is the same as for fseek().
◆ Tell()
int64_t CartoTypeCore::BinaryInputFile::Tell |
( |
| ) |
const |
|
inline |
Returns the current byte position in the file.
The documentation for this class was generated from the following files:
- cartotype_stream.h
- cartotype_stream.cpp