BlobReader.ReadBytes Method

Definition

Overloads

ReadBytes(Int32, Byte[], Int32)

Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset.

ReadBytes(Int32)

Reads bytes starting at the current position.

ReadBytes(Int32, Byte[], Int32)

Source:
BlobReader.cs
Source:
BlobReader.cs
Source:
BlobReader.cs

Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset.

public:
 void ReadBytes(int byteCount, cli::array <System::Byte> ^ buffer, int bufferOffset);
public void ReadBytes (int byteCount, byte[] buffer, int bufferOffset);
member this.ReadBytes : int * byte[] * int -> unit
Public Sub ReadBytes (byteCount As Integer, buffer As Byte(), bufferOffset As Integer)

Parameters

byteCount
Int32

The number of bytes to read.

buffer
Byte[]

The destination buffer the bytes read will be written to.

bufferOffset
Int32

The offset in the destination buffer where the bytes read will be written.

Exceptions

byteCount bytes not available.

Applies to

ReadBytes(Int32)

Source:
BlobReader.cs
Source:
BlobReader.cs
Source:
BlobReader.cs

Reads bytes starting at the current position.

public:
 cli::array <System::Byte> ^ ReadBytes(int byteCount);
public byte[] ReadBytes (int byteCount);
member this.ReadBytes : int -> byte[]
Public Function ReadBytes (byteCount As Integer) As Byte()

Parameters

byteCount
Int32

The number of bytes to read.

Returns

Byte[]

The byte array.

Exceptions

byteCount bytes not available.

Applies to