Typescript Get Value From Array Bytes Vs Bits