pub fn decode_palette(bytes: &[u8]) -> (Palette, Vec<PaletteProblem>)Expand description
Reads a palette off the wire, keeping every entry that is sound.
pub fn decode_palette(bytes: &[u8]) -> (Palette, Vec<PaletteProblem>)Reads a palette off the wire, keeping every entry that is sound.