Use js byte array to implement haxe.io.Bytes
adds compatibility fallback for ArrayBuffer and Uint8Array
typo
Merge pull request #3439 from HaxeFoundation/js-bytes

Use js byte array to implement haxe.io.Bytes