code: public static Guid deserialize(String str) throws IOException {
      if (str.length() != 2 * GUID_LENGTH) {
        throw new IOException("String is not an encoded guid.");
      }
      try {
        return new Guid(Hex.decodeHex(str.toCharArray()), true);
      } catch (DecoderException de) {
        throw new IOException(de);
      }
    }
docs: Reverse of {@link #toString}. Deserializes a {@link Guid} from a previously serialized one.
  @param str Serialized {@link Guid}.
  @return deserialized {@link Guid}.
  @throws IOException