simplify base64 with inline lookup tables

changes compile to a single mov instruction
the '~' in the decode helper is just filler everything else maps to octal escaped numeric value
the base64 string in the encoder has a useless \0 terminator, but to get the string without it looks really ugly