Package com.amazon.ion.impl
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 Summary
Modifier and TypeMethodDescriptionvoidwriteBytes(byte[] data, int off, int len) Writes the given data to the sink.
-
Method Details
-
writeBytes
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:
IOException
-