bdk_chain::bitcoin::blockdata::script

Function read_scriptint_non_minimal

pub fn read_scriptint_non_minimal(v: &[u8]) -> Result<i64, Error>
Expand description

Decodes an integer in script format without non-minimal error.

The overflow error for slices over 4 bytes long is still there. See read_scriptint for a description of some subtleties of this function.