public class FileInput extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getLength() |
int |
getOffset(int size) |
int |
getPosition() |
int |
getU16() |
int |
getU24() |
int |
getU32() |
long |
getU64() |
int |
getU8() |
void |
moveTo(int p) |
void |
read(byte[] copyTo) |
void |
skip(int n) |
public FileInput(File f) throws IOException
IOExceptionpublic int getU8()
throws IOException
IOExceptionpublic int getU16()
throws IOException
IOExceptionpublic int getU24()
throws IOException
IOExceptionpublic int getU32()
throws IOException
IOExceptionpublic int getOffset(int size)
throws IOException
IOExceptionpublic long getU64()
throws IOException
IOExceptionpublic void read(byte[] copyTo)
throws IOException
IOExceptionpublic int getPosition()
public void skip(int n)
public void moveTo(int p)
public int getLength()
public void close()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.