|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.util.binary.OutputStreamWriteable
public class OutputStreamWriteable
Constructor Summary | |
---|---|
OutputStreamWriteable(java.io.OutputStream out)
|
Method Summary | |
---|---|
void |
flush()
Flush write buffer |
java.io.OutputStream |
getStream()
|
java.nio.ByteOrder |
order()
|
void |
order(java.nio.ByteOrder order)
|
void |
put(byte b)
Write a byte |
void |
put(byte[] src)
|
void |
put(byte[] src,
int offset,
int length)
|
void |
put(java.nio.ByteBuffer src)
Put n bytes from the remaining of the byte array. |
void |
put(java.nio.ByteBuffer src,
int length)
Put n bytes from the remaining of the byte buffer. |
void |
putDouble(double value)
|
void |
putFloat(float value)
|
void |
putInt(int value)
|
void |
putLong(long value)
|
void |
putShort(short value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputStreamWriteable(java.io.OutputStream out)
Method Detail |
---|
public java.io.OutputStream getStream()
public void put(byte b) throws java.io.IOException
BinaryWriteable
put
in interface BinaryWriteable
java.io.IOException
public void put(java.nio.ByteBuffer src) throws java.io.IOException
BinaryWriteable
put
in interface BinaryWriteable
java.io.IOException
public void put(java.nio.ByteBuffer src, int length) throws java.io.IOException
BinaryWriteable
put
in interface BinaryWriteable
java.io.IOException
public void put(byte[] src, int offset, int length) throws java.io.IOException
put
in interface BinaryWriteable
java.io.IOException
public void put(byte[] src) throws java.io.IOException
put
in interface BinaryWriteable
java.io.IOException
public void putDouble(double value) throws java.io.IOException
putDouble
in interface BinaryWriteable
java.io.IOException
public void putFloat(float value) throws java.io.IOException
putFloat
in interface BinaryWriteable
java.io.IOException
public void putInt(int value) throws java.io.IOException
putInt
in interface BinaryWriteable
java.io.IOException
public void putLong(long value) throws java.io.IOException
putLong
in interface BinaryWriteable
java.io.IOException
public void putShort(short value) throws java.io.IOException
putShort
in interface BinaryWriteable
java.io.IOException
public java.nio.ByteOrder order()
order
in interface BinaryWriteable
public void order(java.nio.ByteOrder order)
order
in interface BinaryWriteable
public void flush() throws java.io.IOException
BinaryWriteable
flush
in interface BinaryWriteable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |