All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static ByteBuffer |
asByteBuffer(byte[] bytes) |
static ByteBuffer |
asByteBufferInt(int[] ints) |
static byte[] |
asciiString(String fourcc) |
static AutoFileChannelWrapper |
autoChannel(File file) |
static ByteBuffer |
clone(ByteBuffer byteBuffer) |
static ByteBuffer |
cloneBuffer(ByteBuffer pesBuffer) |
static void |
closeQuietly(Closeable channel) |
static ByteBuffer |
combineBuffers(Iterable<ByteBuffer> picture) |
static boolean |
combineBuffersInto(ByteBuffer dup,
List<ByteBuffer> buffers) |
static void |
copy(ReadableByteChannel _in,
WritableByteChannel out,
long amount) |
static ByteBuffer |
duplicate(ByteBuffer bb) |
static ByteBuffer |
fetchAllFromChannel(SeekableByteChannel ch) |
static ByteBuffer |
fetchFrom(ByteBuffer buf,
ReadableByteChannel ch,
int size)
Reads size amount of bytes from ch into a new ByteBuffer allocated from a
buffer buf
|
static ByteBuffer |
fetchFromChannel(ReadableByteChannel ch,
int size) |
static ByteBuffer |
fetchFromFile(File file) |
static ByteBuffer |
fetchFromFileL(File file,
int length) |
static void |
fill(ByteBuffer buffer,
byte val) |
static int |
find(List<ByteBuffer> catalog,
ByteBuffer key) |
static ByteBuffer |
from(ByteBuffer buffer,
int offset) |
static byte |
getRel(ByteBuffer bb,
int rel) |
static MappedByteBuffer |
map(String fileName) |
static MappedByteBuffer |
mapFile(File file) |
static ByteBuffer |
read(ByteBuffer buffer,
int count) |
static FileChannelWrapper |
readableChannel(File file) |
static FileChannelWrapper |
readableFileChannel(String file) |
static ByteBuffer |
readBuf(ByteBuffer buffer) |
static byte |
readByte(ReadableByteChannel channel) |
static int |
readFromChannel(ReadableByteChannel channel,
ByteBuffer buffer) |
static int |
readInt(ReadableByteChannel channel) |
static int |
readIntOrder(ReadableByteChannel channel,
ByteOrder order) |
static int |
readL(ReadableByteChannel channel,
ByteBuffer buffer,
int length) |
static byte[] |
readNByte(ReadableByteChannel channel,
int n) |
static String |
readNullTermString(ByteBuffer buffer) |
static String |
readNullTermStringCharset(ByteBuffer buffer,
String charset) |
static String |
readPascalString(ByteBuffer buffer) |
static String |
readPascalStringL(ByteBuffer buffer,
int maxLen) |
static String |
readString(ByteBuffer buffer,
int len) |
static void |
relocateLeftover(ByteBuffer bb) |
static FileChannelWrapper |
rwChannel(File file) |
static FileChannelWrapper |
rwFileChannel(String file) |
static ByteBuffer |
search(ByteBuffer buffer,
int n,
byte[] param) |
static int |
skip(ByteBuffer buffer,
int count) |
static byte[] |
toArray(ByteBuffer buffer) |
static byte[] |
toArrayL(ByteBuffer buffer,
int count) |
static FileChannelWrapper |
writableChannel(File file) |
static FileChannelWrapper |
writableFileChannel(String file) |
static void |
write(ByteBuffer to,
ByteBuffer from) |
static void |
writeByte(WritableByteChannel channel,
byte value) |
static void |
writeInt(WritableByteChannel channel,
int value) |
static void |
writeIntLE(WritableByteChannel channel,
int value) |
static void |
writeIntOrder(WritableByteChannel channel,
int value,
ByteOrder order) |
static void |
writeL(ByteBuffer to,
ByteBuffer from,
int count) |
static void |
writeLong(WritableByteChannel channel,
long value) |
static void |
writePascalString(ByteBuffer buffer,
String name) |
static void |
writePascalStringL(ByteBuffer buffer,
String string,
int maxLen) |
static void |
writeTo(ByteBuffer buffer,
File file) |