natural_to_dc_number_short

Function natural_to_dc_number_short 

Source
pub fn natural_to_dc_number_short(
    val: &Natural,
    is_negative: bool,
) -> Result<Vec<u32>>
Expand description

Converts a Natural number (with an optional negative sign flag) into a sequence of short Document Characters (Dcs).

Structure: [Dc 6, Format 199, (optional Dc 11 if negative), ...Base64 encapsulation Dcs..., Dc 7]