BlobReader.ReadBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReadBytes(Int32, Byte[], Int32) |
Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset. |
ReadBytes(Int32) |
Reads bytes starting at the current position. |
ReadBytes(Int32, Byte[], Int32)
- Source:
- BlobReader.cs
- Source:
- BlobReader.cs
- Source:
- BlobReader.cs
Reads bytes starting at the current position and writes them to the specified buffer starting at the specified offset.
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)
Parameters
- byteCount
- Int32
The number of bytes to read.
- buffer
- Byte[]
The destination buffer the bytes read will be written to.
- bufferOffset
- Int32
The offset in the destination buffer where the bytes read will be written.
Exceptions
byteCount
bytes not available.
Applies to
ReadBytes(Int32)
- Source:
- BlobReader.cs
- Source:
- BlobReader.cs
- Source:
- BlobReader.cs
Reads bytes starting at the current position.
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()
Parameters
- byteCount
- Int32
The number of bytes to read.
Returns
The byte array.
Exceptions
byteCount
bytes not available.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應