public final class LittleEndianOutputStream extends FilterOutputStream implements LittleEndianOutput
Constructor and Description |
---|
LittleEndianOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
putUShort(int value)
Put unsigned short into output stream
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
writeByte(int v) |
void |
writeDouble(double v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
void |
writeUInt(long value)
Put unsigned int into output stream
|
close, flush, write
public LittleEndianOutputStream(OutputStream out)
public void writeByte(int v)
writeByte
in interface LittleEndianOutput
public void writeDouble(double v)
writeDouble
in interface LittleEndianOutput
public void writeInt(int v)
writeInt
in interface LittleEndianOutput
public void writeLong(long v)
writeLong
in interface LittleEndianOutput
public void writeShort(int v)
writeShort
in interface LittleEndianOutput
public void write(byte[] b)
write
in interface LittleEndianOutput
write
in class FilterOutputStream
public void write(byte[] b, int off, int len)
write
in interface LittleEndianOutput
write
in class FilterOutputStream
public void writeUInt(long value)
value
- the int (32-bit) valuepublic void putUShort(int value)
value
- the unsigned short (16-bit) valueCopyright © 2010 - 2020 Adobe. All Rights Reserved