uint8array implementation

1. uint8array (UCS-2 big endian format) implementation
2. repalce tab characters by space, and trailing space characters are trimmed
compress empty input means the output is empty array.

Therefore, array.length=0