Added .get() implementation

This commit is contained in:
Mike Jensen 2012-08-16 16:08:19 -06:00
parent 38454ce7d4
commit 3372210f45

View File

@ -173,6 +173,10 @@ public abstract class ByteBuffer
return this;
}
public byte get() {
return get(position++);
}
public byte get(int position) {
checkGet(position, 1);
return doGet(position);