mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Added .get() implementation
This commit is contained in:
parent
38454ce7d4
commit
3372210f45
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user