[]
Returns the size in bits, given the data type. The data type must be one defined in this class. An IllegalArgumentException is thrown if type is not defined in this class.
public static int getSize(int type)
Type | Name | Description |
---|---|---|
int | type | The data type. |
Type | Description |
---|---|
int | The size in bits of the data type. |