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