BlobBuilder.WriteBytes 方法

定義

多載

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

將陣列中從指定索引開始的指定位元組數目,寫入至建立器。

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

startbyteCount 指定的範圍超出 buffer 的界限。

建立器是不可寫入的;它已與另一個連結。

適用於

WriteBytes(Byte*, Int32)

來源:
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

將不可變陣列中從指定索引開始的指定位元組數目,寫入至建立器。

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

startbyteCount 指定的範圍超出 buffer 的界限。

建立器是不可寫入的;它已與另一個連結。

適用於

WriteBytes(ImmutableArray<Byte>)

來源:
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

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

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

將位元組值以指定的出現次數寫入建立器。

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 為負。

建立器是不可寫入的,它已與另一個連結。

適用於