enum class TypedRecordReader::EndOfInput
Description
What the reader expects at the end of its range.
Declared at: mcap/include/mcap/reader.hpp:743
Enumerators
| Name | Value | Comment |
|---|---|---|
| Default | 0 | `FooterAndMagic` when the range runs to the end of the input, as it does with the default `endOffset`, and `AnyRecordBoundary` otherwise. |
| FooterAndMagic | 1 | A whole file: the range must end with a Footer record followed by the trailing magic bytes, and nothing after them. Otherwise `status()` reports `MagicMismatch` for missing or wrong magic bytes, or `InvalidFile` for bytes after them or a range that ends at a record boundary without a Footer. |
| AnyRecordBoundary | 2 | A fragment of a file: the range may end at any record boundary, and the trailing magic bytes are not expected. |