Classes | |
struct | CRC32Table |
class | Interval |
class | IntervalTree |
Functions | |
const std::string | CompressionString (Compression compression) |
uint32_t | crc32Final (uint32_t crc) |
uint32_t | crc32Update (const uint32_t prev, const std::byte *const data, const size_t length) |
uint32_t | getUint32LE (const std::byte *data) |
template<class Scalar , typename Value > | |
Value | intervalStart (const Interval< Scalar, Value > &i) |
template<class Scalar , typename Value > | |
Value | intervalStop (const Interval< Scalar, Value > &i) |
uint32_t | KeyValueMapSize (const KeyValueMap &map) |
std::string | MagicToHex (const std::byte *data) |
template<class Scalar , typename Value > | |
std::ostream & | operator<< (std::ostream &out, const Interval< Scalar, Value > &i) |
Status | ParseByteArray (const std::byte *data, uint64_t maxSize, ByteArray *output) |
Status | ParseKeyValueMap (const std::byte *data, uint64_t maxSize, KeyValueMap *output) |
Status | ParseString (const std::byte *data, uint64_t maxSize, std::string *output) |
Status | ParseStringView (const std::byte *data, uint64_t maxSize, std::string_view *output) |
uint16_t | ParseUint16 (const std::byte *data) |
uint32_t | ParseUint32 (const std::byte *data) |
Status | ParseUint32 (const std::byte *data, uint64_t maxSize, uint32_t *output) |
uint64_t | ParseUint64 (const std::byte *data) |
Status | ParseUint64 (const std::byte *data, uint64_t maxSize, uint64_t *output) |
template<typename... T> | |
std::string | StrCat (T &&... args) |
std::string | to_string (const std::string &arg) |
std::string | to_string (std::string_view arg) |
std::string | to_string (const char *arg) |
std::string | ToHex (uint8_t byte) |
std::string | ToHex (std::byte byte) |
Variables | |
static constexpr uint32_t | CRC32_INIT = 0xffffffff |
static constexpr CRC32Table< 0xedb88320, 8 > | CRC32_TABLE |
constexpr uint64_t | FooterLength |
constexpr uint64_t | MinHeaderLength |
|
inline |
Definition at line 59 of file internal.hpp.
|
inline |
|
inline |
Update a streaming CRC32 calculation.
For performance, this implementation processes the data 8 bytes at a time, using the algorithm presented at: https://github.com/komrad36/CRC#option-9-8-byte-tabular
|
inline |
Value mcap::internal::intervalStart | ( | const Interval< Scalar, Value > & | i | ) |
Definition at line 29 of file intervaltree.hpp.
Value mcap::internal::intervalStop | ( | const Interval< Scalar, Value > & | i | ) |
Definition at line 34 of file intervaltree.hpp.
|
inline |
Definition at line 51 of file internal.hpp.
|
inline |
Definition at line 181 of file internal.hpp.
std::ostream& mcap::internal::operator<< | ( | std::ostream & | out, |
const Interval< Scalar, Value > & | i | ||
) |
Definition at line 39 of file intervaltree.hpp.
|
inline |
Definition at line 131 of file internal.hpp.
|
inline |
Definition at line 145 of file internal.hpp.
|
inline |
Definition at line 118 of file internal.hpp.
|
inline |
Definition at line 104 of file internal.hpp.
|
inline |
Definition at line 71 of file internal.hpp.
|
inline |
Definition at line 75 of file internal.hpp.
|
inline |
Definition at line 80 of file internal.hpp.
|
inline |
Definition at line 89 of file internal.hpp.
|
inline |
Definition at line 95 of file internal.hpp.
|
inline |
Definition at line 45 of file internal.hpp.
|
inline |
Definition at line 35 of file internal.hpp.
|
inline |
Definition at line 38 of file internal.hpp.
|
inline |
Definition at line 41 of file internal.hpp.
|
inline |
Definition at line 25 of file internal.hpp.
|
inline |
Definition at line 31 of file internal.hpp.
|
static |
|
static |
constexpr uint64_t mcap::internal::FooterLength |
Definition at line 18 of file internal.hpp.
constexpr uint64_t mcap::internal::MinHeaderLength |
Definition at line 13 of file internal.hpp.