Contents

mStartOffset

The number of bytes from the start of the buffer to the beginning of the packet.

Declaration

var mStartOffset: Int64

Discussion

For example, if the data buffer contains 5 bytes of data, with one byte per packet, then the start offset for the last packet is 4. There are 4 bytes in the buffer before the start of the last packet.

See Also

Inspecting an audio stream packet description