pub trait BigUintHelpers<Rhs = Self> {
    // Required methods
    fn bitlen(&self) -> usize;
    fn from_hex(s: &str) -> Self;
}
Expand description

Helpers for BigUint

Required Methods§

source

fn bitlen(&self) -> usize

Returns the minimum number of bits required to represent a BigUint As opposed to BigUint::bits, this function returns 1 for the input zero

source

fn from_hex(s: &str) -> Self

Creates a BigUint from an hexadecimal string in big endian

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl BigUintHelpers for BigUint

source§

fn bitlen(&self) -> usize

source§

fn from_hex(s: &str) -> Self

Implementors§