Package org.bson.internal
Class UuidHelper
- java.lang.Object
-
- org.bson.internal.UuidHelper
-
public final class UuidHelper extends java.lang.Object
Utilities for encoding and decoding UUID into binary.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.UUID
decodeBinaryToUuid(byte[] data, byte type, UuidRepresentation uuidRepresentation)
static byte[]
encodeUuidToBinary(java.util.UUID uuid, UuidRepresentation uuidRepresentation)
-
-
-
Method Detail
-
encodeUuidToBinary
public static byte[] encodeUuidToBinary(java.util.UUID uuid, UuidRepresentation uuidRepresentation)
-
decodeBinaryToUuid
public static java.util.UUID decodeBinaryToUuid(byte[] data, byte type, UuidRepresentation uuidRepresentation)
-
-