• Reverse the bit ordering of each byte in the byte array, in place

    Parameters

    • buf: Uint8Array

    Returns void

    `reverseBitsAll(new Uint8Array([0b10101010, 0b01010101])) // becomes [0b01010101, 0b10101010]