We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 326a63f commit 2b43881Copy full SHA for 2b43881
src/main/java/org/sunnycode/hash/file2/UuidHelper.java
@@ -5,7 +5,7 @@
5
6
public class UuidHelper {
7
public static byte[] uuidToBytes(UUID uuid) {
8
- ByteBuffer buf = ByteBuffer.allocate(8);
+ ByteBuffer buf = ByteBuffer.allocate(16);
9
10
buf.putLong(uuid.getMostSignificantBits());
11
buf.putLong(uuid.getLeastSignificantBits());
0 commit comments