MongoGridFSStreamRead Method |
Reads bytes from the GridFS stream.
Namespace:
MongoDB.Driver.GridFS
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax public override int Read(
byte[] buffer,
int offset,
int count
)
Public Overrides Function Read (
buffer As Byte(),
offset As Integer,
count As Integer
) As Integer
abstract Read :
buffer : byte[] *
offset : int *
count : int -> int
override Read :
buffer : byte[] *
offset : int *
count : int -> int
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:
Int32The number of bytes read.
See Also