[][src]Trait elrond_wasm::BigIntApi

pub trait BigIntApi<BigUint>: Sized + From<BigUint> + From<i64> + From<i32> + Clone + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Mul<Output = Self> + MulAssign + Div<Output = Self> + DivAssign + Rem<Output = Self> + RemAssign + Neg + PartialEq<Self> + Eq + PartialOrd<Self> + Ord + PartialEq<i64> + PartialOrd<i64> + NestedEncode + TopEncode + NestedDecode + TopDecode {
    pub fn abs_uint(&self) -> BigUint;
pub fn sign(&self) -> Sign;
pub fn to_signed_bytes_be(&self) -> Vec<u8>;
pub fn from_signed_bytes_be(bytes: &[u8]) -> Self; pub fn zero() -> Self { ... } }

Definition of the BigInt type required by the API.

Required methods

pub fn abs_uint(&self) -> BigUint[src]

pub fn sign(&self) -> Sign[src]

pub fn to_signed_bytes_be(&self) -> Vec<u8>[src]

pub fn from_signed_bytes_be(bytes: &[u8]) -> Self[src]

Loading content...

Provided methods

pub fn zero() -> Self[src]

Loading content...

Implementors

Loading content...