Function bson::decode_document [] [src]

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

Attempt to decode a Document from a byte stream.