[−][src]Function rapture::capture::encode
pub fn encode(buf: Vec<u8>) -> Result<String, String>
This function encodes a vector of bytes into a string of hex characters. This is used with the output of File::read_to_end to convert a file to hex.