Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ByteArrayDecoder

Trait for decoding ByteArray data from Base64 format

This trait is specialized for ByteArray types, providing efficient decoding operations while maintaining the ByteArray type for both input and output.

Fully qualified path: alexandria_encoding::base64::ByteArrayDecoder

pub trait ByteArrayDecoder

Trait functions

decode

Decodes a Base64 encoded ByteArray back to raw bytes

Arguments

  • data - The Base64 encoded ByteArray to decode

Returns

  • ByteArray - Raw bytes decoded from Base64 format as ByteArray

Fully qualified path: alexandria_encoding::base64::ByteArrayDecoder::decode

fn decode(data: ByteArray) -> ByteArray