We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360bc1a commit 6021f23Copy full SHA for 6021f23
src/de/javasocketapi/core/ReadingByteBuffer.java
@@ -1,14 +1,16 @@
1
package de.javasocketapi.core;
2
3
+import org.boon.primitive.ByteBuf;
4
+
5
import java.nio.ByteBuffer;
-import java.util.Arrays;
6
import java.util.UUID;
7
8
public class ReadingByteBuffer {
9
private ByteBuffer byteBuffer;
10
11
ReadingByteBuffer(final byte... bytes) {
12
this.byteBuffer = ByteBuffer.wrap(bytes);
13
+ this.byteBuffer = this.byteBuffer.flip();
14
}
15
16
public boolean readBoolean() {
0 commit comments