bson-rust
bson-rust copied to clipboard
RUST-1385 Add binary/raw conversions
RUST-1385
This makes public the existing Binary::as_raw_binary, and adds the reciprocal RawBinaryRef::to_binary. Tagging RUST-1385 because I noticed these didn't exist during implementation of that :)