Table of Contents

Method Read

Namespace
MongoDB.Driver.GridFS
Assembly
MongoDB.Driver.Legacy.dll

Read(byte[], int, int)

Reads bytes from the GridFS stream.

public override int Read(byte[] buffer, int offset, int count)

Parameters

buffer byte[]

The destination buffer.

offset int

The offset in the destination buffer at which to place the read bytes.

count int

The number of bytes to read.

Returns

int

The number of bytes read.