Trait expr::scalar::func::encoding::Format[][src]

pub trait Format {
    fn encode(&self, bytes: &[u8]) -> String;
fn decode(&self, s: &str) -> Result<Vec<u8>, EvalError>; }
Expand description

An encoding format.

Required methods

Encodes a byte slice into its string representation according to this format.

Decodes a byte slice from its string representation according to this format.

Implementors