Method ChangeMaskArraySizeInBytes
ChangeMaskArraySizeInBytes(int)
Compute the number of bytes necessary to encode the required number of bits
Declaration
public static int ChangeMaskArraySizeInBytes(int numBits)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numBits |
Returns
| Type | Description |
|---|---|
| int | The min number of bytes to store this number of bits, rounded to the nearest 4 bytes (for data-alignment). |