public interface EndianOutput
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getFilePointer() |
long |
length() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int i)
Write a big endian int.
|
void |
writeBytes(String s) |
void |
writeDouble(double d)
Write a big endian double.
|
void |
writeFloat(float f)
Write a big endian float.
|
void |
writeInt(int i)
Write a big endian int.
|
void |
writeLEDouble(double d)
Write a little endian double.
|
void |
writeLEFloat(float f)
Write a little endian float.
|
void |
writeLEInt(int i)
Write a little endian int.
|
void |
writeLELong(long l)
Write a little endian int.
|
void |
writeLEShort(short s)
Write a little endian short.
|
void |
writeLong(long l)
Write a big endian int.
|
void |
writeShort(short s)
Write a big endian short.
|
void close()
throws IOException
IOExceptionvoid flush()
long getFilePointer()
throws IOException
IOExceptionlong length()
throws IOException
IOExceptionvoid write(byte[] bytes)
throws IOException
IOExceptionvoid write(byte[] bytes,
int offset,
int length)
throws IOException
IOExceptionvoid write(int i)
throws IOException
i - The int.IOException - If an I/O error occurs.void writeBytes(String s) throws IOException
IOExceptionvoid writeDouble(double d)
throws IOException
d - The double.IOException - If an I/O error occurs.void writeFloat(float f)
throws IOException
f - The float.IOException - If an I/O error occurs.void writeInt(int i)
throws IOException
i - The int.IOException - If an I/O error occurs.void writeLEDouble(double d)
throws IOException
d - The double.IOException - If an I/O error occurs.void writeLEFloat(float f)
throws IOException
f - The float.IOException - If an I/O error occurs.void writeLEInt(int i)
throws IOException
i - The int.IOException - If an I/O error occurs.void writeLELong(long l)
throws IOException
l - The long.IOException - If an I/O error occurs.void writeLEShort(short s)
throws IOException
s - The short.IOException - If an I/O error occurs.void writeLong(long l)
throws IOException
l - The long.IOException - If an I/O error occurs.void writeShort(short s)
throws IOException
s - The short.IOException - If an I/O error occurs.Copyright © 2015 Revolution Systems Inc.. All rights reserved.