26import java.nio.ByteBuffer;
74 int write(
byte in[],
final int offset,
final int length);
Abstract byte output stream object, to write data to a sink.
boolean is_open()
Checks if the stream has an associated file.
long tellp()
Returns the output position indicator.
void closeStream()
Close the stream if supported by the underlying mechanism.
int write(byte in[], final int offset, final int length)
Write to the data sink.
int write(ByteBuffer in)
Write to the data sink.
void close()
Close the stream if supported by the underlying mechanism and dispose the native instance.
String id()
return the id of this data source
Supporting std::basic_ios's iostate functionality for all ByteInStream implementations.