doInit method

  1. @override
int doInit(
  1. CodecBufferHolder<DartHeapPointer, DartCodecBuffer> inputBufferHolder,
  2. CodecBufferHolder<DartHeapPointer, DartCodecBuffer> outputBufferHolder,
  3. List<int> bytes,
  4. int start,
  5. int end,
)
override

Init the filter.

The default behavior is to return 0 for the number of bytes read from the input bytes.

Implementation

@override
int doInit(
        CodecBufferHolder<DartHeapPointer, DartCodecBuffer> inputBufferHolder,
        CodecBufferHolder<DartHeapPointer, DartCodecBuffer>
            outputBufferHolder,
        List<int> bytes,
        int start,
        int end) =>
    0;