pub fn decode_locktime_value(bytes: &[u8]) -> Option<i64>Expand description
Decode a stack element as a script number of at most 5 bytes.
The high bit of the last byte is the sign. Negative zero (0x80) is 0.
A fifth byte is part of the value, not padding. Returns None when the
element is longer than 5 bytes.