Interface BinaryNIOOutputSink

  • All Superinterfaces:
    OutputSink
    All Known Implementing Classes:
    NIOOutputStream

    public interface BinaryNIOOutputSink
    extends OutputSink
    Adds the ability for binary based OutputSinks to write a Buffer instead of having to convert to those types supported by OutputStream.
    Since:
    2.0
    • Method Detail

      • write

        void write​(Buffer buffer)
            throws java.io.IOException
        Writes the contents of the specified Buffer.
        Parameters:
        buffer - the to write
        Throws:
        java.io.IOException