pub type ION_INT = _ion_int;
Implementations§
source§impl ION_INT
impl ION_INT
sourcepub fn try_assign_bigint(&mut self, src: &BigInt) -> IonCResult<()>
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
sourcepub fn try_to_bigint(&self) -> IonCResult<BigInt>
pub fn try_to_bigint(&self) -> IonCResult<BigInt>
Constructs a BigInt
from this ION_INT
.