mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
added get/put float/double to ByteBuffers, as well as duplicate
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user