pub fn parse(bytes: &[u8]) -> Result<Kvx, ParseError>Expand description
Parse a .kvx file’s bytes into a Kvx.
§Errors
Returns ParseError if bytes is too short for the fixed header
or palette, if a sequential read would run past EOF, or if a slab
list’s recorded xyoffset differences are non-monotonic or imply a
declared zleng that overruns the column’s byte budget.