Function std::io::with_bytes_reader

pub fn with_bytes_reader<T>(bytes: &[u8], f: &fn(@Reader) -> T) -> T