uint8array implementation

1. uint8array (UCS-2 big endian format) implementation
2. repalce tab characters by space, and trailing space characters are trimmed