class Crockford::Encoding
- Crockford::Encoding
- Reference
- Object
Defined in:
crockford.crConstructors
Instance Method Summary
- #alphabet : Array(UInt8)
- #alphabet=(alphabet : Array(UInt8))
-
#decode(ascii_ord : UInt8) : UInt8
decode ASCII character represented as a UInt8 into a UInt value in the range 0-31
- #decode_map : Hash(UInt8, UInt8)
- #decode_map=(decode_map : Hash(UInt8, UInt8))
-
#encode(val : UInt8) : UInt8
encode UInt8 value in the range 0-31 into an ASCII character represented as a UInt8
Constructor Detail
Instance Method Detail
def decode(ascii_ord : UInt8) : UInt8
#
decode ASCII character represented as a UInt8 into a UInt value in the range 0-31
def encode(val : UInt8) : UInt8
#
encode UInt8 value in the range 0-31 into an ASCII character represented as a UInt8