CSJ2K.j2k.util.ISRandomAccessIO.length C# (CSharp) Méthode

length() public méthode

Returns the length of the stream. This will cause all the data to be read. This method will block until all the data is read, which can be lengthy across the network.
If an I/O error ocurred. /// ///
public length ( ) : int
Résultat int
        public virtual int length()
        {
            while (!complete)
            {
                /* read until we reach EOF */
                readInput();
            }
            return len;
        }