Skip to main content

start_offset

Function start_offset 

Source
pub fn start_offset(base: &[u8]) -> (u64, bool)
Expand description

The base’s length as an update’s write position, plus whether a pad newline must be inserted first: an object header may not follow directly after %%EOF unless the base already ends on a line terminator (\n or \r).