Interface _Private_ByteTransferSink


  • public interface _Private_ByteTransferSink
    A destination sink that can be fed bytes. The typical usage is a _Private_ByteTransferReader that funnels data to an binary Ion target.
    • Method Detail

      • writeBytes

        void writeBytes​(byte[] data,
                        int off,
                        int len)
                 throws java.io.IOException
        Writes the given data to the sink.
        Parameters:
        data - The byte array to write.
        off - The offset in the array to write from.
        len - The length of data to write.
        Throws:
        java.io.IOException