createBitmap

Helper method to create a bitmap from a list of specified bit positions.

Return

A 4-byte array representing the bitmap.

Parameters

bits

The list of bit positions (0-31) that should be set to '1'.