public class LittleEndianRandomAccessFile extends RandomAccessFile
| 构造器和说明 |
|---|
LittleEndianRandomAccessFile(File file,
String mode) |
LittleEndianRandomAccessFile(String name,
String mode) |
| 限定符和类型 | 方法和说明 |
|---|---|
double |
readDoubleLE() |
float |
readFloatLE() |
int |
readIntLE() |
long |
readLongLE() |
short |
readShortLE() |
void |
writeDoubleLE(double value) |
void |
writeFloatLE(float value) |
void |
writeIntLE(int value) |
void |
writeLongLE(long value) |
void |
writeShortLE(short value) |
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic LittleEndianRandomAccessFile(File file, String mode) throws FileNotFoundException
public LittleEndianRandomAccessFile(String name, String mode) throws FileNotFoundException
public short readShortLE()
throws IOException
IOExceptionpublic int readIntLE()
throws IOException
IOExceptionpublic float readFloatLE()
throws IOException
IOExceptionpublic long readLongLE()
throws IOException
IOExceptionpublic double readDoubleLE()
throws IOException
IOExceptionpublic void writeShortLE(short value)
throws IOException
IOExceptionpublic void writeIntLE(int value)
throws IOException
IOExceptionpublic void writeFloatLE(float value)
throws IOException
IOExceptionpublic void writeLongLE(long value)
throws IOException
IOExceptionpublic void writeDoubleLE(double value)
throws IOException
IOExceptionCopyright © 2021. All rights reserved.