Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

SolAbiEncodeAsU256

Encode as from int types Integers are encoded as byteSize bytes, which are right-aligned/left-padded Big-endian.

Fully qualified path: alexandria_encoding::sol_abi::encode_as::SolAbiEncodeAsU256

pub impl SolAbiEncodeAsU256 of SolAbiEncodeAsTrait<u256>;

Impl functions

encode_as

Fully qualified path: alexandria_encoding::sol_abi::encode_as::SolAbiEncodeAsU256::encode_as

fn encode_as(mut self: Bytes, byteSize: u32, mut x: u256) -> Bytes