struct Attachment

Declaration

struct Attachment { /* full declaration omitted */ };

Description

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.

Declared at: mcap/include/mcap/types.hpp:255

Member Variables

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