BlobBuilder.WriteBytes 方法

定義

多載

名稱 Description
WriteBytes(Byte[], Int32, Int32)

從位元組陣列中指定索引開始,寫入指定數量的位元組到建構器。

WriteBytes(Byte*, Int32)

從緩衝區寫入指定數量的位元組到建構器。

WriteBytes(ImmutableArray<Byte>, Int32, Int32)

從不可變陣列的指定索引開始,寫入指定數量的位元組到建構器。

WriteBytes(ImmutableArray<Byte>)

將不可變位元組陣列的內容寫入建構器。

WriteBytes(Byte[])

將位元組陣列的內容寫入建構器。

WriteBytes(Byte, Int32)

將指定次數的位元組值寫入建置器。

WriteBytes(Byte[], Int32, Int32)

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

從位元組陣列中指定索引開始,寫入指定數量的位元組到建構器。

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)

參數

buffer
Byte[]
start
Int32
byteCount
Int32

要寫入的位元組數。

例外狀況

buffernull

由 指定的 start 範圍 及 byteCount 位於 的 buffer範圍之外。

建構者不可寫;它被認為與另一艘有關聯。

適用於

WriteBytes(Byte*, Int32)

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

從緩衝區寫入指定數量的位元組到建構器。

public:
 void WriteBytes(System::Byte* buffer, int byteCount);
public void WriteBytes(byte* buffer, int byteCount);
member this.WriteBytes : nativeptr<byte> * int -> unit

參數

buffer
Byte*
byteCount
Int32

要寫入的位元組數。

例外狀況

buffernull

byteCount 為負數。

建構者不是可寫的,而是被連結到另一個建構者。

適用於

WriteBytes(ImmutableArray<Byte>, Int32, Int32)

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

從不可變陣列的指定索引開始,寫入指定數量的位元組到建構器。

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)

參數

start
Int32
byteCount
Int32

要寫入的位元組數。

例外狀況

buffernull

由 指定的 start 範圍 和 byteCount 位於 的範圍 buffer之外。

建構者不可寫;它被認為與另一艘有關聯。

適用於

WriteBytes(ImmutableArray<Byte>)

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

將不可變位元組陣列的內容寫入建構器。

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))

參數

buffer
ImmutableArray<Byte>

要寫陣列。

例外狀況

buffernull

建構者不可寫;它被認為與另一艘有關聯。

適用於

WriteBytes(Byte[])

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

將位元組陣列的內容寫入建構器。

public:
 void WriteBytes(cli::array <System::Byte> ^ buffer);
public void WriteBytes(byte[] buffer);
member this.WriteBytes : byte[] -> unit
Public Sub WriteBytes (buffer As Byte())

參數

buffer
Byte[]

要寫入的位元組陣列。

例外狀況

buffernull

建構者不可寫;它被認為與另一艘有關聯。

適用於

WriteBytes(Byte, Int32)

來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs
來源:
BlobBuilder.cs

將指定次數的位元組值寫入建置器。

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)

參數

value
Byte
byteCount
Int32

寫入的次數 value

例外狀況

byteCount 為負數。

建構者不是可寫的,而是被連結到另一個建構者。

適用於