do not print chars outside range
use ByteData for patterns as well
test C#
use Uint8Array on Js
add unicode tests