I have the following code:
const uint8 = new Uint8Array(buffer); let uint8String = ""; for (const n of uint8) uint8String += n.toString(2).padStart