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