Decoder Registry
mosaicolabs.bridges.mcap.decoders.DecoderRegistry ¶
Registry of MCAPMsgDecoderBase classes, keyed by the channel.message_encoding each one
supports. Populated via the @register_decoder decorator.
mosaicolabs.bridges.mcap.decoders.registry.register_decoder ¶
Class decorator that registers decoder_cls in the DecoderRegistry, keyed by its
own supported_encoding().
Raises:
| Type | Description |
|---|---|
ValueError
|
If a decoder for that encoding is already registered. |