Check out example codes for "vb.net convert int32 into boolean array stack overflow". It will help you in understanding the concepts better.

Code Example 1

Dim MyShort As uShort = 32
    Dim oByteArray As New System.Collections.BitArray(System.BitConverter.GetBytes(MyShort))

Learn ReactJs, React Native from akashmittal.com