public class MemoryBuffer extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
buffer |
Constructor and Description |
---|
MemoryBuffer(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
eof() |
int |
getInt() |
long |
getLong() |
int |
length() |
boolean |
lessThan(int ofs1,
int ofs2,
int length) |
void |
putInt(int l) |
void |
putLong(long l) |
void |
swapbytes(int ofs1,
int ofs2,
int length) |
public void clear()
public int length()
public boolean eof()
public boolean lessThan(int ofs1, int ofs2, int length)
public void swapbytes(int ofs1, int ofs2, int length)
public void putLong(long l)
public void putInt(int l)
public long getLong()
public int getInt()
Copyright © 2016 Egothor. All Rights Reserved.