名前 | 解説 | |
---|---|---|
getData | Returns the array containing the data, or null if there is no data. The returned array is of the type returned by getDataType (e.g., for TYPE_INT, it is a int[]).
Each implementing class should provide a type specific equivalent method (e.g., getDataInt() in GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkInt) which returns an array of the correct type explicitly and not through an System.Object. | |
getDataType | Returns the data type of the DataBlk object, as defined in this class. | |
getSize | Returns the size in bits, given the data type. The data type must be one defined in this class. An System.ArgumentException is thrown if type is not defined in this class. | |
setData | Sets the data array to the specified one. The type of the specified data array must match the one returned by getDataType (e.g., for TYPE_INT, it should be a int[]). If the wrong type of array is given a System.Exception will be thrown.
The size of the array is not necessarily checked for consistency with w and h or any other fields. Each implementing class should provide a type specific equivalent method (e.g., setDataInt() in GrapeCity.Documents.Imaging.jpeg.jj2000.j2k.image.DataBlkInt) which takes an array of the correct type explicitly and not through an System.Object. | |
ToString | Returns a string of informations about the DataBlk |