public class LittleEndianOutputStream extends DataOutputStream
writtenout| 构造器和说明 |
|---|
LittleEndianOutputStream(OutputStream out)
Creates a new instance of LittleEndianOutputStream, which will write to the specified target.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
writeDoubleLE(double value)
Writes a little-endian double value
|
void |
writeFloatLE(float value)
Writes a little-endian float value
|
void |
writeIntLE(int value)
Writes a little-endian int value
|
void |
writeLongLE(long value)
Writes a little-endian long value
|
void |
writeShortLE(short value)
Writes a little-endian short value
|
void |
writeUnsignedInt(long value) |
void |
writeUnsignedIntLE(long value) |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic LittleEndianOutputStream(OutputStream out)
out - the target OutputStreampublic void writeShortLE(short value)
throws IOException
value - the source value to convertIOException - if an error occurspublic void writeIntLE(int value)
throws IOException
value - the source value to convertIOException - if an error occurspublic void writeFloatLE(float value)
throws IOException
value - the source value to convertIOException - if an error occurspublic void writeLongLE(long value)
throws IOException
value - the source value to convertIOException - if an error occurspublic void writeDoubleLE(double value)
throws IOException
value - the source value to convertIOException - if an error occurspublic void writeUnsignedInt(long value)
throws IOException
IOExceptionpublic void writeUnsignedIntLE(long value)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.