public class BufferedDataOutputStreamPlus extends DataOutputStreamPlus
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
buffer |
channel
Modifier | Constructor and Description |
---|---|
protected |
BufferedDataOutputStreamPlus(java.nio.ByteBuffer buffer) |
|
BufferedDataOutputStreamPlus(java.io.FileOutputStream fos) |
|
BufferedDataOutputStreamPlus(java.io.FileOutputStream fos,
int bufferSize) |
|
BufferedDataOutputStreamPlus(java.io.RandomAccessFile ras) |
|
BufferedDataOutputStreamPlus(java.io.RandomAccessFile ras,
int bufferSize) |
|
BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel wbc) |
protected |
BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel channel,
java.nio.ByteBuffer buffer) |
|
BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel wbc,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
doFlush(int count) |
void |
flush() |
BufferedDataOutputStreamPlus |
order(java.nio.ByteOrder order) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(java.nio.ByteBuffer src) |
void |
write(int b) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(java.lang.String s) |
void |
writeChar(int v) |
void |
writeChars(java.lang.String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
void |
writeUTF(java.lang.String s) |
newDefaultChannel, retrieveTemporaryBuffer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPosition, position, write, writeUnsignedVInt, writeVInt
public BufferedDataOutputStreamPlus(java.io.RandomAccessFile ras)
public BufferedDataOutputStreamPlus(java.io.RandomAccessFile ras, int bufferSize)
public BufferedDataOutputStreamPlus(java.io.FileOutputStream fos)
public BufferedDataOutputStreamPlus(java.io.FileOutputStream fos, int bufferSize)
public BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel wbc)
public BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel wbc, int bufferSize)
protected BufferedDataOutputStreamPlus(java.nio.channels.WritableByteChannel channel, java.nio.ByteBuffer buffer)
protected BufferedDataOutputStreamPlus(java.nio.ByteBuffer buffer)
public void write(byte[] b) throws java.io.IOException
write
in interface java.io.DataOutput
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in interface java.io.DataOutput
write
in class java.io.OutputStream
java.io.IOException
public void write(java.nio.ByteBuffer src) throws java.io.IOException
java.io.IOException
public void write(int b) throws java.io.IOException
write
in interface java.io.DataOutput
write
in class java.io.OutputStream
java.io.IOException
public void writeBoolean(boolean v) throws java.io.IOException
java.io.IOException
public void writeByte(int v) throws java.io.IOException
java.io.IOException
public void writeShort(int v) throws java.io.IOException
java.io.IOException
public void writeChar(int v) throws java.io.IOException
java.io.IOException
public void writeInt(int v) throws java.io.IOException
java.io.IOException
public void writeLong(long v) throws java.io.IOException
java.io.IOException
public void writeFloat(float v) throws java.io.IOException
java.io.IOException
public void writeDouble(double v) throws java.io.IOException
java.io.IOException
public void writeBytes(java.lang.String s) throws java.io.IOException
java.io.IOException
public void writeChars(java.lang.String s) throws java.io.IOException
java.io.IOException
public void writeUTF(java.lang.String s) throws java.io.IOException
java.io.IOException
@DontInline protected void doFlush(int count) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public BufferedDataOutputStreamPlus order(java.nio.ByteOrder order)
Copyright © 2009-2022 The Apache Software Foundation