public class LittleEndianOutputStream
extends java.io.DataOutputStream
Constructor and Description |
---|
LittleEndianOutputStream(java.io.OutputStream out)
Constructor out The output stream to chain this one to.
|
Modifier and Type | Method and Description |
---|---|
void |
writeLEChar(int c)
Writes a number of type char in little endian param c An
integer that is upcast from a Char data type.
|
void |
writeLEChars(java.lang.String s)
Writes a String in little endian
|
void |
writeLEDouble(double d)
Writes a number a number of type double in little endian
|
void |
writeLEFloat(float f)
Writes a number of type float in little endian
|
void |
writeLEInt(int i)
Writes a number of type int in little endian
|
void |
writeLELong(long l)
Writes a number of type long in little endian
|
void |
writeLEShort(short s)
Writes a number of type short in little endian
|
void |
writeLEUTF(java.lang.String s) |
void |
writeString(java.lang.String string,
int length) |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public LittleEndianOutputStream(java.io.OutputStream out)
public void writeString(java.lang.String string, int length) throws java.io.IOException
java.io.IOException
public void writeLEShort(short s) throws java.io.IOException
s
- A number of type shortjava.io.IOException
public void writeLEChar(int c) throws java.io.IOException
java.io.IOException
public void writeLEInt(int i) throws java.io.IOException
i
- A number of type intjava.io.IOException
public void writeLELong(long l) throws java.io.IOException
l
- A number of type longjava.io.IOException
public final void writeLEFloat(float f) throws java.io.IOException
f
- A number of type float.java.io.IOException
public final void writeLEDouble(double d) throws java.io.IOException
d
- A number of type doublejava.io.IOException
public void writeLEChars(java.lang.String s) throws java.io.IOException
s
- A stringjava.io.IOException
public void writeLEUTF(java.lang.String s) throws java.io.IOException
java.io.IOException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details