e57::BufferView Class Reference

Tool class to read buffer efficiently without multiplying copy operations. More...

Public Member Functions

 BufferView (const char *input, uint64_t size)
 
uint64_t pos () const
 
void read (char *buffer, uint64_t count)
 
bool seek (uint64_t offset, int whence)
 

Detailed Description

Tool class to read buffer efficiently without multiplying copy operations.

WARNING: pointer input is handled by user!

Constructor & Destructor Documentation

◆ BufferView()

e57::BufferView::BufferView ( const char *  input,
uint64_t  size 
)
Parameters
[IN]input: filled buffer owned by caller.
[IN]size: size of input

Member Function Documentation

◆ pos()

◆ read()

void e57::BufferView::read ( char *  buffer,
uint64_t  count 
)

◆ seek()

bool e57::BufferView::seek ( uint64_t  offset,
int  whence 
)

The documentation for this class was generated from the following file: