Trait encrypt38::BytesManipulation [−][src]
pub trait BytesManipulation { fn encode_base58ck(&self) -> String; fn hash160(&self) -> [u8; 20]; fn hash256(&self) -> [u8; 32]; fn hex_string(&self) -> String; fn p2wpkh(&self) -> Result<String, Error>; }
Expand description
Functions to manipulate data in form of arbitrary number of bytes u8.
Required methods
fn encode_base58ck(&self) -> String
fn encode_base58ck(&self) -> String
Encode informed data in base 58 check.
fn hex_string(&self) -> String
fn hex_string(&self) -> String
Receives bytes and return string of hexadecimal characters.
Implementations on Foreign Types
Implementation of trait BytesManipulation.