[]
        
(Showing Draft Content)

CSJ2K.j2k.image.DataBlk.getSize

getSize Method

getSize(int)

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.

Declaration
public static int getSize(int type)
Parameters
Type Name Description
int type

The data type.

Returns
Type Description
int

The size in bits of the data type.