[][src]Function libipld_cbor::decode::read_str

pub fn read_str<R: Read>(r: &mut R, len: usize) -> Result<String>

Reads len number of bytes from a byte stream and converts them to a string.