pub fn read_compact_size( data: &[u8], offset: &mut usize, ) -> Result<u64, SignerError>
Read a Bitcoin compact-size integer from a byte slice at the given offset.
Advances offset past the consumed bytes.
offset