public class WrappedDataOutputStreamPlus extends UnbufferedDataOutputStreamPlus
WrappedDataOutputStreamPlus instead of this class, as it will
 be more efficient when using Plus methods. This class is only for situations where it cannot be used.
 The channel provided by this class is just a wrapper around the output stream.| Modifier and Type | Field and Description | 
|---|---|
| protected java.io.OutputStream | out | 
channel| Constructor and Description | 
|---|
| WrappedDataOutputStreamPlus(java.io.OutputStream out) | 
| WrappedDataOutputStreamPlus(java.io.OutputStream out,
                           java.nio.channels.WritableByteChannel channel) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | flush() | 
| void | write(byte[] buffer,
     int offset,
     int count)Writes  countbytes from the byte arraybufferstarting atoffsetto this RandomAccessFile starting at
 the current file pointer.. | 
| void | write(int oneByte)Writes the specified byte  oneByteto this RandomAccessFile
 starting at the current file pointer. | 
applyToChannel, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF, writeUTFnewDefaultChannel, retrieveTemporaryBufferclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPosition, position, writeUnsignedVInt, writeVIntpublic WrappedDataOutputStreamPlus(java.io.OutputStream out)
public WrappedDataOutputStreamPlus(java.io.OutputStream out,
                                   java.nio.channels.WritableByteChannel channel)
public void write(byte[] buffer,
                  int offset,
                  int count)
           throws java.io.IOException
UnbufferedDataOutputStreamPluscount bytes from the byte array buffer
 starting at offset to this RandomAccessFile starting at
 the current file pointer..write in interface java.io.DataOutputwrite in class UnbufferedDataOutputStreamPlusbuffer - the bytes to be writtenoffset - offset in buffer to get bytescount - number of bytes in buffer to writejava.io.IOException - If an error occurs attempting to write to this
                                   RandomAccessFile.public void write(int oneByte)
           throws java.io.IOException
UnbufferedDataOutputStreamPlusoneByte to this RandomAccessFile
 starting at the current file pointer. Only the low order byte of
 oneByte is written.write in interface java.io.DataOutputwrite in class UnbufferedDataOutputStreamPlusoneByte - the byte to be writtenjava.io.IOException - If an error occurs attempting to write to this
                     RandomAccessFile.public void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
           throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2018 The Apache Software Foundation