public interface IByteInputStream
extends java.io.Closeable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IByteInputStream.Seekable |
| Modifier and Type | Field and Description |
|---|---|
static int |
READ_BUFFER_SIZE |
static int |
READ_IN_MEMORY_THRESHOLD |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
java.nio.ByteOrder |
getOrder() |
static IByteInputStream |
of(java.io.InputStream is) |
static IByteInputStream |
of(java.io.InputStream is,
java.nio.ByteOrder order) |
static IByteInputStream |
of(java.io.InputStream is,
java.nio.ByteOrder order,
int bufferSize) |
static IByteInputStream.Seekable |
ofBuffered(java.io.InputStream is,
java.nio.ByteOrder order) |
static IByteInputStream.Seekable |
ofSeekable(Stream stream,
java.nio.ByteOrder order) |
int |
readByte() |
void |
readBytes(byte[] b,
int start,
int length) |
char |
readChar() |
void |
readChars(char[] b,
int start,
int length) |
double |
readDouble() |
void |
readDoubles(double[] dst,
int start,
int length) |
float |
readFloat() |
void |
readFloats(float[] dst,
int start,
int length) |
byte[] |
readFully() |
int |
readInt() |
void |
readInts(int[] dst,
int start,
int length) |
long |
readLong() |
void |
readLongs(long[] dst,
int start,
int length) |
short |
readShort() |
void |
readShorts(short[] dst,
int start,
int length) |
default java.lang.String |
readString(int length) |
default java.lang.String |
readStringNullTerminatedFixedLength(int length) |
default java.lang.String |
readStringNullTerminatedVarLength(int maxLength,
java.nio.charset.Charset charset) |
void |
skip(long numBytesToSkip) |
static final int READ_BUFFER_SIZE
static final int READ_IN_MEMORY_THRESHOLD
java.nio.ByteOrder getOrder()
int available()
throws java.io.IOException
java.io.IOExceptionvoid skip(long numBytesToSkip) throws java.io.IOException
java.io.IOExceptionint readByte()
throws java.io.IOException
java.io.IOExceptionvoid readBytes(byte[] b,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionchar readChar()
throws java.io.IOException
java.io.IOExceptionvoid readChars(char[] b,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionshort readShort()
throws java.io.IOException
java.io.IOExceptionvoid readShorts(short[] dst,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionint readInt()
throws java.io.IOException
java.io.IOExceptionvoid readInts(int[] dst,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionfloat readFloat()
throws java.io.IOException
java.io.IOExceptionvoid readFloats(float[] dst,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionlong readLong()
throws java.io.IOException
java.io.IOExceptionvoid readLongs(long[] dst,
int start,
int length)
throws java.io.IOException
java.io.IOExceptiondouble readDouble()
throws java.io.IOException
java.io.IOExceptionvoid readDoubles(double[] dst,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionbyte[] readFully()
throws java.io.IOException
java.io.IOExceptiondefault java.lang.String readString(int length)
throws java.io.IOException
java.io.IOExceptiondefault java.lang.String readStringNullTerminatedVarLength(int maxLength,
java.nio.charset.Charset charset)
throws java.io.IOException
java.io.IOExceptiondefault java.lang.String readStringNullTerminatedFixedLength(int length)
throws java.io.IOException
java.io.IOExceptionstatic IByteInputStream of(java.io.InputStream is)
static IByteInputStream of(java.io.InputStream is, java.nio.ByteOrder order)
static IByteInputStream of(java.io.InputStream is, java.nio.ByteOrder order, int bufferSize)
static IByteInputStream.Seekable ofBuffered(java.io.InputStream is, java.nio.ByteOrder order)
static IByteInputStream.Seekable ofSeekable(Stream stream, java.nio.ByteOrder order) throws java.io.IOException
java.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