Convert between ASCII (char), ASCII (int), && 8-bit (Byte)
Added: Ability to update the default text being converted.
/* Convert to ASCII (int) */
word[idx] = '[' + ltr.charCodeAt().toString() + ']';
/* Convert to 8-bit Bytes */
word[idx] = '[' + ("000000000" + ltr.charCodeAt().toString(2)).substr(-8) + ']';
- CodePen
- Chrome Web Extension: Character Counts It's included as part of the functionality of the extension.