mirror of
https://github.com/corda/corda.git
synced 2025-01-01 10:46:46 +00:00
Implemented ByteBuffer.flip()
This commit is contained in:
parent
b4afc538d4
commit
cc8dd6d8c0
@ -134,6 +134,8 @@ public class ByteBuffer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ByteBuffer flip() {
|
public ByteBuffer flip() {
|
||||||
|
limit = position;
|
||||||
|
position = 0;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user