Skip to main content

write_scriptint

Function write_scriptint 

Source
pub fn write_scriptint(out: &mut [u8; 8], n: i64) -> usize
Expand description

Encodes an integer in script number format.

ยงPanics

Panics if the encoded value exceeds the legacy 8-byte output buffer.