Top Description Methods
com.amazon.ion.impl

public Interface _Private_ByteTransferSink

Known Direct Implementers
com.amazon.ion.impl.bin.AbstractIonWriter
Imports
java.io.IOException

A destination sink that can be fed bytes. The typical usage is a _Private_ByteTransferReader that funnels data to an binary Ion target.

Method Summary

Modifier and TypeMethod and Description
public void
writeBytes(byte[]
The byte array to write.
data
,
int
The offset in the array to write from.
off
,
int
The length of data to write.
len
)

Writes the given data to the sink.

Method Detail

writeBytesback to summary
public void writeBytes(byte[] data, int off, int len) throws IOException

Writes the given data to the sink.

Parameters
data:byte[]

The byte array to write.

off:int

The offset in the array to write from.

len:int

The length of data to write.