8#ifndef META_OCEAN_MEDIA_SPECIAL_IMAGE_OCN_H
9#define META_OCEAN_MEDIA_SPECIAL_IMAGE_OCN_H
33 static constexpr size_t headerMagicNumberSize_ = 4;
36 static constexpr size_t headerPixelFormatSize_ = 40;
39 static constexpr size_t headerPixelOriginSize_ = 16;
42 static constexpr size_t headerDataTypeSize_ = 32;
73 static bool readValue(
const uint8_t*& data,
size_t& remainingSize, T& value);
83 static bool readValue(
const uint8_t*& data,
size_t& remainingSize,
const size_t numberCharacters, std::string& value);
94 static bool writeValue(
const T& value, uint8_t*& data,
size_t& remainingSize);
104 static bool writeValue(
const std::string& value,
const size_t numberCharacters, uint8_t*& data,
size_t& remainingSize);
This class implements Ocean's image class.
Definition Frame.h:1808
The namespace covering the entire Ocean framework.
Definition Accessor.h:15