bit 16 to 64
This commit is contained in:
parent
acb799cab2
commit
3286aab10c
@ -22,7 +22,7 @@ public class UUIDPositiveLongGenerator {
|
||||
|
||||
public long combineByteBuffer(){
|
||||
UUID uuid = UUID.randomUUID();
|
||||
ByteBuffer bb = ByteBuffer.wrap(new byte[16]);
|
||||
ByteBuffer bb = ByteBuffer.wrap(new byte[64]);
|
||||
bb.putLong(uuid.getMostSignificantBits());
|
||||
bb.putLong(uuid.getLeastSignificantBits());
|
||||
bb.rewind();
|
||||
|
Loading…
x
Reference in New Issue
Block a user