Implemented ByteBuffer.flip()

This commit is contained in:
Eric Scharff 2007-09-28 12:18:01 -06:00
parent b4afc538d4
commit cc8dd6d8c0

View File

@ -134,6 +134,8 @@ public class ByteBuffer {
}
public ByteBuffer flip() {
limit = position;
position = 0;
return this;
}