#include <cr2image.hpp>
Public Member Functions | |
Creators | |
Cr2Header () | |
Default constructor. | |
Manipulators | |
bool | read (const byte *pData, uint32_t size) |
Read the CR2 header from a data buffer. Return false if the data buffer does not contain a CR2 header, else true. | |
Accessors | |
void | write (Blob &blob) const |
Write the CR2 header to the binary image blob. This method appends to the blob. | |
void | print (std::ostream &os, const std::string &prefix="") const |
Print debug info for the CR2 header to os. | |
ByteOrder | byteOrder () const |
Return the byte order (little or big endian). | |
uint32_t | offset () const |
Return the offset to the start of the root directory. |
|
Print debug info for the CR2 header to os.
|
|
Read the CR2 header from a data buffer. Return false if the data buffer does not contain a CR2 header, else true.
|
|
Write the CR2 header to the binary image blob. This method appends to the blob.
|