Function tiff::decoder::fix_endianness

source ยท
fn fix_endianness(buf: &mut DecodingBuffer<'_>, byte_order: ByteOrder)
Expand description

Fix endianness. If byte_order matches the host, then conversion is a no-op.