Skip to main content

parse_payload_section_start

Function parse_payload_section_start 

Source
pub fn parse_payload_section_start<K: BlobKind>(
    header: &[u8],
) -> Result<u64, BlobError>
Expand description

Payload-section offset read from the header alone, so a caller holding only the first HEADER_SIZE bytes can turn a PayloadLocator offset into an absolute file offset without loading the image.