tiff::decoder

Function 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.