Module: RadixEncoding

Defined in:
lib/radix_encoding.rb,
lib/radix_encoding/version.rb,
lib/radix_encoding/encoding.rb,
lib/radix_encoding/encoding/bits.rb,
lib/radix_encoding/encoding/chunks.rb,
lib/radix_encoding/encoding/errors.rb,
lib/radix_encoding/encoding/validations.rb,
lib/radix_encoding/encoding/encoded_points.rb

Defined Under Namespace

Classes: Encoding

Constant Summary collapse

BASE16 =

Standard Base16 encoding as defined in RFC 4648.

Encoding.new(
  alphabet: "0123456789ABCDEF",
  radix: 16,
)
BASE32 =

Standard Base32 encoding as defined in RFC 4648.

Encoding.new(
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
  radix: 32,
  padding: "=",
)
BASE64 =

Standard Base64 encoding as defined in RFC 4648.

Encoding.new(
  alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
    "abcdefghijklmnopqrstuvwxyz" \
    "0123456789" \
    "+/",
  radix: 64,
  padding: "=",
)
VERSION =
"0.2.0"