public final class ByteArray
extends java.lang.Object
| Constructor and Description |
|---|
ByteArray() |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchFully() |
void |
fetchTo(int toIncluded) |
protected void |
onFetch(byte[] bytes) |
int |
read(byte[] dst,
int dstPos,
int position,
int length) |
int |
readAt(int position) |
int |
size() |
byte[] |
toArray() |
java.nio.ByteBuffer |
toByteBuffer(java.nio.ByteOrder order) |
protected void onFetch(byte[] bytes)
public void fetchFully()
throws java.io.IOException
java.io.IOExceptionpublic void fetchTo(int toIncluded)
throws java.io.IOException
java.io.IOExceptionpublic int readAt(int position)
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] dst,
int dstPos,
int position,
int length)
throws java.io.IOException
java.io.IOExceptionpublic int size()
public byte[] toArray()
public java.nio.ByteBuffer toByteBuffer(java.nio.ByteOrder order)
Bonzai 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