BlobReader.ReadBytes Metodo

Definizione

Overload

ReadBytes(Int32, Byte[], Int32)

Legge i byte a partire dalla posizione corrente e li scrive nel buffer specificato a partire dall'offset specificato.

ReadBytes(Int32)

Legge i byte a partire dalla posizione corrente.

ReadBytes(Int32, Byte[], Int32)

Legge i byte a partire dalla posizione corrente e li scrive nel buffer specificato a partire dall'offset specificato.

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

Numero di byte da leggere.

buffer
Byte[]

Buffer di destinazione in cui verranno scritti i byte letti.

bufferOffset
Int32

Offset nel buffer di destinazione in cui verranno scritti i byte letti.

Eccezioni

Byte byteCount non disponibili.

Si applica a

ReadBytes(Int32)

Legge i byte a partire dalla posizione corrente.

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

Numero di byte da leggere.

Restituisce

Byte[]

Matrice di byte.

Eccezioni

Byte byteCount non disponibili.

Si applica a