Different Uint8Array constructor used

Uint8Array has a constructor which allows you to create typed array from the custom sequence.
This solution works and passes all the tests.