pub fn encode_with_format<S, F, W>(src: S, format: F, dest: W) -> Result<()>where
    S: AsRef<[u8]>,
    F: AsRef<[u8]>,
    W: Write,
Expand description

Encode the bytes of s with a custom template.

TODO: Document the template format.