public class MessageStreamImpl2 extends StreamImpl
_nullPath, _path| Modifier and Type | Method and Description |
|---|---|
void |
closeWrite()
Closes the write half of the stream.
|
void |
write(byte[] data,
int offset,
int length,
boolean isEnd)
Writes a buffer to the underlying stream.
|
canRead, canWrite, clearWrite, close, flush, flushBuffer, flushToDisk, getAttribute, getAttributeNames, getAvailable, getFlushOnNewline, getNewline, getPath, getReadBuffer, getReadPosition, hasSkip, isClosed, isEof, isMmapEnabled, isSendfileEnabled, read, readNonBlock, readTimeout, removeAttribute, seekEnd, seekStart, setAttribute, setPath, setWriteEncoding, skip, write, writeMmap, writeSendfilepublic void write(byte[] data,
int offset,
int length,
boolean isEnd)
throws java.io.IOException
StreamImplwrite in class StreamImpldata - the byte array to write.offset - the offset into the byte array.length - the number of bytes to write.isEnd - true when the write is flushing a close.java.io.IOExceptionpublic void closeWrite()
StreamImplcloseWrite in class StreamImpl