fn sign_extend_to<const N: usize>(raw: &[u8]) -> Result<[u8; N], ArrowError>
Expand description
Sign extends a byte slice to a fixed-size array of N bytes. This is done by filling the leading bytes with 0x00 for positive numbers or 0xFF for negative numbers.