Function foxglove::no_seek_fn

Function Documentation

inline SeekFunction foxglove::no_seek_fn(uint64_t *position)

Build a no-op seek function that only supports position queries.

Use with McapWriterOptions::disable_seeking = true.

Note

This function is used to build a CustomWriter for non-seekable output destinations.

Parameters:

position – Pointer to the current write position, which must be kept up to date by the caller’s write function.

Returns:

A seek function suitable for CustomWriter::seek.