CSJ2K.j2k.codestream.reader.FileBitstreamReaderAgent.getNumTileParts C# (CSharp) Method

getNumTileParts() public method

Returns the number of tile-part found for a given tile
public getNumTileParts ( int t ) : int
t int Tile index /// /// ///
return int
        public virtual int getNumTileParts(int t)
        {
            if (firstPackOff == null || firstPackOff[t] == null)
            {
                throw new System.InvalidOperationException("Tile " + t + " not found in input codestream.");
            }
            return firstPackOff[t].Length;
        }