Function libipld_cbor::decode::read_str

source ยท
pub fn read_str<R: Read>(r: &mut R, len: u64) -> Result<String>
Expand description

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