Module methanol

Interface AsyncDecoder.ByteSink

Enclosing interface:
AsyncDecoder

public static interface AsyncDecoder.ByteSink
A sink of bytes for writing the decompressed stream as ByteBuffer chunks.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a ByteBuffer with available space for writing the decompressed stream.
    default void
    Pushes src.remaining() bytes from the given source buffer to this sink.
  • Method Details

    • currentSink

      ByteBuffer currentSink()
      Returns a ByteBuffer with available space for writing the decompressed stream.
    • pushBytes

      default void pushBytes(ByteBuffer src)
      Pushes src.remaining() bytes from the given source buffer to this sink.