mc_protocol v0.0.1
McProtocol.UUID
Utilities for working with UUIDs in Minecraft.
Can deal with both hyphenated, unhyphenated and binary UUIDs.
Functions
Specs
from_bin(bin) :: %McProtocol.UUID{bin: term, hex: term} when bin: binary
Specs
from_hex(str) ::
%McProtocol.UUID{bin: term, hex: term} |
:error when str: binary