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