} /* LengthNextScanLine */ override public void SkipNextScanLine() { bool eol = false; ushort rec = GetNextRecord(); while ((!eof) && (!eol)) { Sipper2DecodeRec dr = decodeRecs[rec]; if (dr.Eol()) { eol = true; } else { rec = GetNextRecord(); } } } /* SkipNextScanLine */
} /* SkipNextScanLine */ override public void ReadNextScanLine(byte[] scanLine) { bool eol = false; int idx = 0; ushort rec = GetNextRecord(); while ((!eof) && (!eol)) { Sipper2DecodeRec dr = decodeRecs[rec]; dr.AddToScanLine(scanLine, ref idx); if (dr.Eol()) { eol = true; } else { rec = GetNextRecord(); } } } /* ReadNextScanLine */
} /* BuildDecodeRecs */ override public int LengthNextScanLine() { bool eol = false; int scanLineLen = 0; ushort rec = GetNextRecord(); while ((!eof) && (!eol)) { Sipper2DecodeRec dr = decodeRecs[rec]; scanLineLen += dr.PixelSpaceNeeded(); if (dr.Eol()) { eol = true; } else { rec = GetNextRecord(); } } return(scanLineLen); } /* LengthNextScanLine */