Type Definition ion_c_sys::ION_INT

source ·
pub type ION_INT = _ion_int;

Implementations§

source§

impl ION_INT

source

pub fn try_assign_bigint(&mut self, src: &BigInt) -> IonCResult<()>

Constructs a BigInt from this ION_INT.

Note that since BigInt does not have a view into its digits, this method will make an intermediate copy as the big-endian encoded byte vector that will then be stored into this ION_INT

source

pub fn try_to_bigint(&self) -> IonCResult<BigInt>

Constructs a BigInt from this ION_INT.