fn decode_to_array<const N: usize>(bytes: &[u8]) -> Result<[u8; N]>
Decode an signed integer of the specified size.
Returns a byte array of the requested size containing a big endian integer.