Extra

class Extra(extraBuffers: List<ByteBuffer>)(source)

Ensures that extra are not used at the same time.

After accessing the extra, they are automatically rewind for a new usage.

Constructors

Link copied to clipboard
constructor(extraBuffers: List<ByteBuffer>)

Properties

Link copied to clipboard

Gets the duplicated extra.

Functions

Link copied to clipboard
fun <T> get(extra: List<ByteBuffer>.() -> T): T
Link copied to clipboard
fun Extra.get(index: Int): ByteBuffer

Gets the duplicated extra at index

Link copied to clipboard
fun getLength(): Int