Method ReadBytes
ReadBytes(BsonStream, byte[], int, int)
Reads bytes from the stream.
public static void ReadBytes(this BsonStream stream, byte[] buffer, int offset, int count)
Parameters
stream
BsonStreamThe stream.
buffer
byte[]The buffer.
offset
intThe offset.
count
intThe count.
ReadBytes(BsonStream, int)
Reads bytes from the stream.
public static byte[] ReadBytes(this BsonStream stream, int count)
Parameters
stream
BsonStreamThe stream.
count
intThe count.
Returns
- byte[]
The bytes.