BitMiracle.LibTiff.Classic.Tiff.RawStripSize C# (CSharp) Method

RawStripSize() public method

Computes the number of bytes in a raw (i.e. not decoded) strip.
public RawStripSize ( int strip ) : long
strip int The zero-based index of a strip.
return long
        public long RawStripSize(int strip)
        {
            long bytecount = m_dir.td_stripbytecount[strip];
            if (bytecount <= 0)
            {
                ErrorExt(this, m_clientdata, m_name,
                    "{0}: Invalid strip byte count, strip {1}", bytecount, strip);
                bytecount = -1;
            }

            return bytecount;
        }
Tiff