Click or drag to resize

MongoGridFSStreamRead Method

Reads bytes from the GridFS stream.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public override int Read(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: SystemByte
The destination buffer.
offset
Type: SystemInt32
The offset in the destination buffer at which to place the read bytes.
count
Type: SystemInt32
The number of bytes to read.

Return Value

Type: Int32
The number of bytes read.
See Also