Class Base16Codec
- java.lang.Object
-
- com.github.f4b6a3.uuid.codec.base.BaseNCodec
-
- com.github.f4b6a3.uuid.codec.base.Base16Codec
-
public final class Base16Codec extends BaseNCodec
Codec for base-16 as defined in RFC-4648. It is case insensitive, so it decodes in lower and upper case, but encodes in lower case only. This other codec may be much faster (10x) than doinguuid.toString().replaceAll("-", "")`. See: https://tools.ietf.org/html/rfc4648
-
-
Field Summary
Fields Modifier and Type Field Description static Base16CodecINSTANCEA shared immutable instance.-
Fields inherited from class com.github.f4b6a3.uuid.codec.base.BaseNCodec
base, decoder, encoder
-
-
Constructor Summary
Constructors Constructor Description Base16Codec()
-
Method Summary
-
Methods inherited from class com.github.f4b6a3.uuid.codec.base.BaseNCodec
decode, encode, getBase, newInstance, newInstance, newInstance
-
-
-
-
Field Detail
-
INSTANCE
public static final Base16Codec INSTANCE
A shared immutable instance.
-
-