AudioDataStream.CanReadData Method

Definition

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