mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
Added .get() implementation
This commit is contained in:
@ -173,6 +173,10 @@ public abstract class ByteBuffer
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public byte get() {
|
||||||
|
return get(position++);
|
||||||
|
}
|
||||||
|
|
||||||
public byte get(int position) {
|
public byte get(int position) {
|
||||||
checkGet(position, 1);
|
checkGet(position, 1);
|
||||||
return doGet(position);
|
return doGet(position);
|
||||||
|
Reference in New Issue
Block a user