Function qoi::decode_header[][src]

pub fn decode_header(data: impl AsRef<[u8]>) -> Result<Header>
Expand description

Decode the image header from a slice of bytes.