Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Encoder

Fully qualified path: alexandria_encoding::base58::Encoder

pub trait Encoder<T>

Trait functions

encode

Encodes data into Base58 format

Arguments

  • data - The data to encode

Returns

  • Array<u8> - Base58 encoded representation as bytes

Fully qualified path: alexandria_encoding::base58::Encoder::encode

fn encode(data: T) -> Array<u8>