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