added get/put float/double to ByteBuffers, as well as duplicate

This commit is contained in:
Luke Wahlmeier
2016-01-10 03:03:03 -07:00
parent c1df8b949c
commit 9d87e3b2a7
7 changed files with 212 additions and 27 deletions

View File

@ -14,6 +14,7 @@ public abstract class Buffer {
protected int capacity;
protected int position;
protected int limit;
protected boolean readonly;
public final int limit() {
return limit;
@ -61,4 +62,8 @@ public abstract class Buffer {
position = 0;
return this;
}
public boolean isReadOnly() {
return readonly;
}
}