BlobBuilder.WriteBytes Metodo
In questo articolo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
WriteBytes(Byte[], Int32, Int32) |
Scrive un numero specificato di byte nel generatore a partire dall'indice specificato in una matrice di byte. |
WriteBytes(Byte*, Int32) |
Scrive un numero specificato di byte da un buffer al generatore. |
WriteBytes(ImmutableArray<Byte>, Int32, Int32) |
Scrive un numero specificato di byte nel generatore a partire dall'indice specificato di una matrice non modificabile. |
WriteBytes(ImmutableArray<Byte>) |
Scrive il contenuto di una matrice di byte non modificabile nel generatore. |
WriteBytes(Byte[]) |
Scrive il contenuto di una matrice di byte nel generatore. |
WriteBytes(Byte, Int32) |
Scrive un numero specificato di occorrenze di un valore di byte nel generatore. |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive un numero specificato di byte nel generatore a partire dall'indice specificato in una matrice di byte.
public:
void WriteBytes(cli::array <System::Byte> ^ buffer, int start, int byteCount);
public void WriteBytes (byte[] buffer, int start, int byteCount);
member this.WriteBytes : byte[] * int * int -> unit
Public Sub WriteBytes (buffer As Byte(), start As Integer, byteCount As Integer)
Parametri
- buffer
- Byte[]
- start
- Int32
- byteCount
- Int32
Numero di byte da scrivere.
Eccezioni
buffer
è null
.
L'intervallo specificato da start
e byteCount
non rientra nei limiti di buffer
.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive un numero specificato di byte da un buffer al generatore.
public:
void WriteBytes(System::Byte* buffer, int byteCount);
public void WriteBytes (byte* buffer, int byteCount);
member this.WriteBytes : nativeptr<byte> * int -> unit
Parametri
- buffer
- Byte*
- byteCount
- Int32
Numero di byte da scrivere.
Eccezioni
buffer
è null
.
byteCount
è negativo.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive un numero specificato di byte nel generatore a partire dall'indice specificato di una matrice non modificabile.
public:
void WriteBytes(System::Collections::Immutable::ImmutableArray<System::Byte> buffer, int start, int byteCount);
public void WriteBytes (System.Collections.Immutable.ImmutableArray<byte> buffer, int start, int byteCount);
member this.WriteBytes : System.Collections.Immutable.ImmutableArray<byte> * int * int -> unit
Public Sub WriteBytes (buffer As ImmutableArray(Of Byte), start As Integer, byteCount As Integer)
Parametri
- buffer
- ImmutableArray<Byte>
- start
- Int32
- byteCount
- Int32
Numero di byte da scrivere.
Eccezioni
buffer
è null
.
L'intervallo specificato da start
e byteCount
non rientra nei limiti del buffer
.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive il contenuto di una matrice di byte non modificabile nel generatore.
public:
void WriteBytes(System::Collections::Immutable::ImmutableArray<System::Byte> buffer);
public void WriteBytes (System.Collections.Immutable.ImmutableArray<byte> buffer);
member this.WriteBytes : System.Collections.Immutable.ImmutableArray<byte> -> unit
Public Sub WriteBytes (buffer As ImmutableArray(Of Byte))
Parametri
- buffer
- ImmutableArray<Byte>
Matrice da inserire.
Eccezioni
buffer
è null
.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive il contenuto di una matrice di byte nel generatore.
public:
void WriteBytes(cli::array <System::Byte> ^ buffer);
public void WriteBytes (byte[] buffer);
member this.WriteBytes : byte[] -> unit
Public Sub WriteBytes (buffer As Byte())
Parametri
- buffer
- Byte[]
Matrice di byte da scrivere.
Eccezioni
buffer
è null
.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
- Origine:
- BlobBuilder.cs
Scrive un numero specificato di occorrenze di un valore di byte nel generatore.
public:
void WriteBytes(System::Byte value, int byteCount);
public void WriteBytes (byte value, int byteCount);
member this.WriteBytes : byte * int -> unit
Public Sub WriteBytes (value As Byte, byteCount As Integer)
Parametri
- value
- Byte
- byteCount
- Int32
Numero di occorrenze di value
da scrivere.
Eccezioni
byteCount
è negativo.
Non è possibile scrivere nel generatore perché è stato collegato con un altro.
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 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: