BlobReader.ReadBytes BlobReader.ReadBytes BlobReader.ReadBytes BlobReader.ReadBytes Method

Definizione

Overload

ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32)

Legge i byte a partire dalla posizione corrente e li scrive nel buffer specificato a partire dall'offset specificato.Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset.

ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32)

Legge i byte a partire dalla posizione corrente.Reads bytes starting at the current position.

ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32) ReadBytes(Int32, Byte[], Int32)

Legge i byte a partire dalla posizione corrente e li scrive nel buffer specificato a partire dall'offset specificato.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)

Parametri

byteCount
Int32 Int32 Int32 Int32

Numero di byte da leggere.The number of bytes to read.

buffer
Byte[]

Buffer di destinazione in cui verranno scritti i byte letti.The destination buffer the bytes read will be written to.

bufferOffset
Int32 Int32 Int32 Int32

Offset nel buffer di destinazione in cui verranno scritti i byte letti.The offset in the destination buffer where the bytes read will be written.

Eccezioni

Byte byteCount non disponibili.byteCount bytes not available.

ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32) ReadBytes(Int32)

Legge i byte a partire dalla posizione corrente.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()

Parametri

byteCount
Int32 Int32 Int32 Int32

Numero di byte da leggere.The number of bytes to read.

Restituisce

Byte[]

Matrice di byte.The byte array.

Eccezioni

Byte byteCount non disponibili.byteCount bytes not available.

Si applica a