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)

Origine:
BlobReader.cs
Origine:
BlobReader.cs
Origine:
BlobReader.cs

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

public void ReadBytes (int byteCount, byte[] buffer, int bufferOffset);

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

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0

ReadBytes(Int32)

Origine:
BlobReader.cs
Origine:
BlobReader.cs
Origine:
BlobReader.cs

Legge i byte a partire dalla posizione corrente.

public byte[] ReadBytes (int byteCount);

Parametri

byteCount
Int32

Numero di byte da leggere.

Restituisce

Byte[]

Matrice di byte.

Eccezioni

Byte byteCount non disponibili.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0
UWP 10.0