Function qoi::decode::decode_header

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

Decode the image header from a slice of bytes.