Skip to main content

Crate dvb_common

Crate dvb_common 

Source
Expand description

DEPRECATED — renamed to broadcast_common.

This crate is a thin re-export shim kept so existing dvb-common dependencies keep building. New code should depend on broadcast-common directly. No further feature work lands here.

Modules§

bcd
Binary-coded decimal (BCD) codec for DVB wire fields.
bits
Big-endian, MSB-first bit reader/writer for dense sub-byte wire fields.
crc32_mpeg2
CRC-32 MPEG-2 — Annex C of ETSI EN 300 468, Annex A of ETSI TS 102 773.
time
UTC time and duration codecs for DVB wire fields.
traits
Canonical Parse and Serialize traits for the DVB crate family.

Macros§

impl_spec_display
Generate a core::fmt::Display impl for a spec/field enum that delegates to an inherent fn name(&self) -> &'static str.

Traits§

Parse
Parse a DVB structure from raw bytes. Borrowing allowed via <'a>; the concrete error type is chosen per implementer.
Serialize
Serialize a DVB structure back to bytes. Split from Parse so owned and borrowed variants of the same type can implement Serialize without carrying a lifetime.