Skip to main content

encode

Function encode 

Source
pub fn encode(sign: u16, weight: i16, dscale: u16, digits: &[i16]) -> Vec<u8> ⓘ
Expand description

The bytes of a value. Zero digits at either end are dropped, and a number with no digits left is zero.