@Environment(value=CLIENT) abstract static class PngFile.Reader extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
protected boolean |
errored |
Modifier | Constructor and Description |
---|---|
private |
Reader() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
(package private) int |
eof(long user) |
protected abstract int |
read(long data,
int size) |
(package private) int |
read(long user,
long data,
int size) |
protected abstract void |
skip(int n) |
(package private) void |
skip(long user,
int n) |
int read(long user, long data, int size)
void skip(long user, int n)
int eof(long user)
protected abstract int read(long data, int size) throws IOException
IOException
protected abstract void skip(int n) throws IOException
IOException
public abstract void close() throws IOException
close
in interface AutoCloseable
IOException