CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_stream.h>
Public Member Functions | |
TResult | Open (const char *aFileName) |
void | OpenStandardInput () |
TResult | Seek (int64_t aOffset, int aOrigin) |
int64_t | Tell () const |
size_t | Read (uint8_t *aBuffer, size_t aBufferSize) |
CBinaryInputFile (const CBinaryInputFile &)=delete | |
CBinaryInputFile (CBinaryInputFile &&)=delete | |
void | operator= (const CBinaryInputFile &)=delete |
void | operator= (CBinaryInputFile &&)=delete |
A file input class for reading binary data from file which may be greater than 4Gb in size.
TResult CartoType::CBinaryInputFile::Open | ( | const char * | aFileName | ) |
Opens a file.
|
inline |
Opens standard input.
|
inline |
Reads up to aBufferSize bytes into aBuffer and returns the number of bytes actually read.
|
inline |
Seeks to a byte position aOffset in the file; aOrigin is the same as for fseek().
|
inline |
Returns the current byte position in the file.