mc_protocol v0.0.2 McProtocol.UUID

Utilities for working with UUIDs in Minecraft.

Can deal with both hyphenated, unhyphenated and binary UUIDs.

Summary

Types

t :: %McProtocol.UUID{bin: term, hex: term}

Functions

bin(u_u_i_d)
from_bin(bin_data)

Specs

from_bin(bin) :: t when bin: binary
from_hex(hex_data)

Specs

from_hex(str) :: t | :error when str: binary
hex(u_u_i_d)
hex_hyphen(u_u_i_d)
java_name_uuid(name)
uuid4()