Library globals

Class globals . emesary . BinaryAsciiTransfer

View source

Base method of transferring all numeric based values.
Using the same techinque as base64 - except this is base248 because we can use a much wider range of characters.

Classes

retval

Functions

decodeInt

decodeNumeric

encodeInt

encodeNumeric

Variables

alphabet

excluded chars 32 (<space>), 33 (!), 35 (#), 36($), 126 (~), 127 (<del>)

empty_encoding

po2

base248: powers of 2 (i.e. po2(x) = f(248 ^ x); 0 based list so the first item is really[1]; i.e. 124 which is 248/2 as po2 is the magnitude excluding sign

spaces