Skip to main content

Module base

Module base 

Source
Expand description

Number base parsing and formatting for the cast conversion commands.

Re-exportsΒ§

use alloy_primitives::I256; πŸ”’
use alloy_primitives::U256; πŸ”’
use eyre::Result; πŸ”’
use std::fmt::Debug; πŸ”’
use std::fmt::Debug; πŸ”’
use std::fmt::Display; πŸ”’
use std::fmt::Formatter; πŸ”’
use std::fmt::LowerHex; πŸ”’
use std::fmt::Result as FmtResult; πŸ”’
use std::num::IntErrorKind; πŸ”’
use std::str::FromStr; πŸ”’

StructsΒ§

NumberWithBase
A parsed number together with the Base it is formatted in.

EnumsΒ§

Base
Represents a number’s radix or base. Supports the same bases that std::fmt supports.