Skip to main content

page

Function page 

Source
fn page(
    serial: u32,
    seq: u32,
    granule: u64,
    header_type: u8,
    packet: &[u8],
) -> Vec<u8> ⓘ
Expand description

One page carrying one packet: the lacing table splits it into 255-byte segments, a final short segment (empty when the length is a multiple of 255) closing it.