[][src]Function bson::decode_document_utf8_lossy

pub fn decode_document_utf8_lossy<R: Read + ?Sized>(
    reader: &mut R
) -> DecoderResult<Document>

Attempt to decode a Document that may contain invalid UTF-8 strings from a byte stream.