Trait ppppp_bytes::AsBytes
source · pub trait AsBytes<const LENGTH: usize>: Sized {
// Required method
fn as_bytes(&self) -> &[u8; LENGTH];
// Provided methods
fn to_bytes(&self) -> [u8; LENGTH] { ... }
fn to_base58(&self) -> String { ... }
}