[doc] add travis CI status
[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