Provide the reader with newly received bytes for it to process. After calling this function,
call nextRecord()
again to parse any records that are now available.
The number of bytes that have been received by append()
but not yet parsed.
True if a valid, complete mcap file has been parsed.
Read the next record from the stream if possible. If not enough data is available to parse a complete record, or if the reading has terminated with a valid footer, returns undefined.
This function may throw any errors encountered during parsing. If an error is thrown, the reader is in an unspecified state and should no longer be used.
Generated using TypeDoc
A streaming reader for MCAP files.
Usage example: