AudioToolbox.AudioFileStream.ByteToPacket Method
Maps a position in the file to an audio packet.

Syntax

public long ByteToPacket (long byteval, out int byteOffsetInPacket, out bool isEstimate)

Parameters

byteval
The location in the file.
byteOffsetInPacket
Return value, byte offset within the packet.
isEstimate
Return value, whether the return is an estimate or not.

Returns

The packet number that corresponds to this byte in the file.

Remarks

This updates the AudioFileStream.LastError property.

Requirements

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