BlobReader.ReadBytes 方法

定義

多載

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

從目前位置開始讀取位元組,並從指定偏移量寫入指定的緩衝區。

ReadBytes(Int32)

從當前位置開始讀取位元組。

ReadBytes(Int32, Byte[], Int32)

來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs

從目前位置開始讀取位元組,並從指定偏移量寫入指定的緩衝區。

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)

參數

byteCount
Int32

要讀取的位元組數。

buffer
Byte[]

讀取的位元組會寫入目的地緩衝區。

bufferOffset
Int32

目的地緩衝區的偏移量,讀取位元組將被寫入。

例外狀況

byteCount 位元組無法使用。

適用於

ReadBytes(Int32)

來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs
來源:
BlobReader.cs

從當前位置開始讀取位元組。

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

參數

byteCount
Int32

要讀取的位元組數。

傳回

Byte[]

位元組陣列。

例外狀況

byteCount 位元組無法使用。

適用於