MediaCodec.BufferInfo.Size Property

Definition

The amount of data (in bytes) in the buffer.

[Android.Runtime.Register("size")]
public int Size { get; set; }
[<Android.Runtime.Register("size")>]
member this.Size : int with get, set

Property Value

Attributes

Remarks

The amount of data (in bytes) in the buffer. If this is 0, the buffer has no data in it and can be discarded. The only use of a 0-size buffer is to carry the end-of-stream marker.

Java documentation for android.media.MediaCodec.BufferInfo.size.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to