inputBuffer property

Uint8List inputBuffer

Returns the native input buffer backed by native memory.

You should write the opus packet you want to decode as bytes into this buffer, update the inputBufferIndex accordingly and call one of the decode methods.

You must not put more bytes then maxInputBufferSizeBytes into this buffer.

Implementation

Uint8List get inputBuffer =>
    _inputBuffer.asTypedList(maxInputBufferSizeBytes);