Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

SolAbiEncodeAsBytes

Encode as from bytes types Bytes are encoded as byteSize bytes, which are left-aligned/right-padded.

Fully qualified path: alexandria_encoding::sol_abi::encode_as::SolAbiEncodeAsBytes

pub impl SolAbiEncodeAsBytes of SolAbiEncodeAsTrait<Bytes>;

Impl functions

encode_as

Fully qualified path: alexandria_encoding::sol_abi::encode_as::SolAbiEncodeAsBytes::encode_as

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