pub fn decode<B>(data: B, output: &mut Vec<u8>) -> Result<(), Error>where B: AsRef<[u8]>,
Decode a byte slice into a vector