public final class RandomAccessInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
RandomAccessInputStream(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] dst,
int dstPos,
int length) |
void |
setPosition(long pos) |
int |
size() |
RandomAccessInputStream |
view() |
public RandomAccessInputStream view()
public int size()
throws java.io.IOException
java.io.IOExceptionpublic void setPosition(long pos)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] dst,
int dstPos,
int length)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com