AudioToolbox.AudioFileStream.ParseBytes Method
Parses and decode a portion of the array of bytes provided.

Syntax

public AudioFileStreamStatus ParseBytes (byte[] bytes, int offset, int count, bool discontinuity)

Parameters

bytes
Buffer containing the data.
offset
First byte withing the array that contains the data to decode.
count
Number of bytes to parse.
discontinuity
True if this invocation to ParseBytes is contiguous to the previous one, false otherwise.

Returns

The status from parsing the buffer.

Remarks

The OnPacketDecoded/OnProperty found methods are invoked as data is parsed. If you have not subclassed this class, you can alternatively hook up to the PacketDecoded and PropertyFound events to receive parsing notifications.

This updates the AudioFileStream.LastError property.

Requirements

Namespace: AudioToolbox
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0