[refactor] use number type as read args
[optim] use number types for s1 and s0
[cleanup] make it look like big-endian so add makes sense
[optim] remove typedarrays s1 and s0

close #1