Struct Attachment

Struct Documentation

struct Attachment

An Attachment is an arbitrary file embedded in an MCAP file, including a name, media type, timestamps, and optional CRC. Attachment records are written in the Data section, outside of Chunks.

Public Members

Timestamp logTime
Timestamp createTime
std::string name
std::string mediaType
uint64_t dataSize
const std::byte *data = nullptr
uint32_t crc