Class TypeConversion

java.lang.Object
de.eldoria.eldoutilities.serialization.TypeConversion

public final class TypeConversion extends Object
Class for simple type conversion.
Since:
1.0.0
  • Method Details

    • getBytesFromUUID

      public static byte[] getBytesFromUUID(UUID uuid)
      Converts a UUID to a byte array.
      Parameters:
      uuid - UUID to convert
      Returns:
      UUID as byte array
    • getUUIDFromBytes

      public static UUID getUUIDFromBytes(byte[] bytes)
      Convers a byte array to UUID
      Parameters:
      bytes - array to convert
      Returns:
      byte array as UUID