Private
#appendPrivate
#attachmentPrivate
#channelsPrivate
#chunkPrivate
#chunkPrivate
#chunkPrivate
#compressPrivate
#dataundefined means the CRC is not calculated, e.g. when using InitializeForAppending if the original file did not have a dataSectionCrc.
Private
#metadataPrivate
#nextPrivate
#nextPrivate
#recordPrivate
#repeatPrivate
#repeatPrivate
#schemasPrivate
#usePrivate
#writablePrivate
#writtenPrivate
#writtenPrivate
#finalizeAdd a channel and return a generated channel id. The channel id is used when adding messages.
Add a schema and return a generated schema id. The schema id is used when adding channels.
Static
InitializeInitializes a new McapWriter for appending to an existing MCAP file. The same readWrite
will
be used to load indexes out of the existing file, remove the DataEnd and subsequent records,
and then rewrite them when the writer is closed. The existing file must be indexed, since
existing indexes, channel and schema IDs, etc. are reused when appending to the file.
A writer initialized with this method is already "opened" and does not require a start()
call, however it does require an eventual call to end()
to produce a properly indexed MCAP
file.
Generated using TypeDoc
McapWriter provides an interface for writing messages to MCAP files.
NOTE: callers must wait on any method call to complete before calling another method. Calling a method before another has completed will result in a corrupt MCAP file.