AudioDataStream.CanReadData 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
CanReadData(UInt32) |
Indicates whether the audio data stream can read the specified number of bytes, starting from the current position of the stream. |
CanReadData(UInt32, UInt32) |
Indicates whether the audio data stream can read the specified number of bytes, starting from a position offset from the first byte. |
CanReadData(UInt32)
Indicates whether the audio data stream can read the specified number of bytes, starting from the current position of the stream.
public bool CanReadData (uint bytesRequested);
member this.CanReadData : uint32 -> bool
Public Function CanReadData (bytesRequested As UInteger) As Boolean
Parameters
- bytesRequested
- UInt32
The requested data size, in bytes.
Returns
A bool indicating whether the specified number of bytes can be read from the stream.
Applies to
CanReadData(UInt32, UInt32)
Indicates whether the audio data stream can read the specified number of bytes, starting from a position offset from the first byte.
public bool CanReadData (uint pos, uint bytesRequested);
member this.CanReadData : uint32 * uint32 -> bool
Public Function CanReadData (pos As UInteger, bytesRequested As UInteger) As Boolean
Parameters
- pos
- UInt32
The offset from the start from the of the stream where the request starts, in bytes.
- bytesRequested
- UInt32
The requested data size, in bytes.
Returns
A bool indicating whether the specified number of bytes can be read from the stream.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應