crazy web uart

if you want to send one single byte

this is not working

writer.write(new Int32Array([0x4]).buffer);

this work

writer.write(new Uint8Array([0x4]));