Module: DECRadix50
- Defined in:
- lib/dec_radix_50.rb,
lib/dec_radix_50/decoder.rb,
lib/dec_radix_50/encoder.rb,
lib/dec_radix_50/version.rb
Overview
Encodes strings to the DEC Radix-50 encoding.
Defined Under Namespace
Classes: ArgumentError, Decoder, Encoder, Error
Constant Summary collapse
- MK90_CHARSET =
Elektronika MK90 filenames charset:
" ABCDEFGHIJKLMNOPQRSTUVWXYZ$./0123456789"
- RT11_CHARSET =
RT-11 filenames charset:
" ABCDEFGHIJKLMNOPQRSTUVWXYZ$%*0123456789"
- VERSION =
"0.2.0"
Class Method Summary collapse
-
.decode(charset, int_array) ⇒ String
Decode array of integers to a string.
-
.encode(charset, string, replace_char = " ") ⇒ Array<Integer>
Encode a string to the DEC Radix-50 encoding.