Class ContinueRecordExtractor
Helper class which allows extract continue records from stream.
Inheritance
System.Object
ContinueRecordExtractor
Implements
System.Collections.IEnumerator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
public class ContinueRecordExtractor : IEnumerator
Constructors
ContinueRecordExtractor(BinaryReader, IDecryptor, DataProvider)
Main constructor for class.
Declaration
public ContinueRecordExtractor(BinaryReader reader, IDecryptor decryptor, DataProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | reader | Reference on stream BinaryReader. |
IDecryptor | decryptor | Object used to decrypt encrypted records. |
DataProvider | provider | Represents data provider. |
Properties
Current
Type safe Current record.
Declaration
public BiffRecordRaw Current { get; }
Property Value
Type | Description |
---|---|
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw |
IsStreamEOF
Check if is the end of stream.
Declaration
protected bool IsStreamEOF { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
AddRecordType(TBIFFRecord)
Declaration
public void AddRecordType(TBIFFRecord recordType)
Parameters
Type | Name | Description |
---|---|---|
TBIFFRecord | recordType |
PeekRecord()
Peek at one record from stream.
Declaration
protected BiffRecordRaw PeekRecord()
Returns
Type | Description |
---|---|
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw | Peeked Biff record. |
StoreStreamPosition()
Class to store current stream position as start point.
Declaration
public long StoreStreamPosition()
Returns
Type | Description |
---|---|
System.Int64 | New position which stored as start point. |
Explicit Interface Implementations
IEnumerator.Current
Get current extracted record from stream.
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
IEnumerator.MoveNext()
Move to the next item in stream.
Declaration
bool IEnumerator.MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | True if record was extracted successfully; otherwise False. |
IEnumerator.Reset()
Return stream to the start position and reset enumerator.
Declaration
void IEnumerator.Reset()
Implements
System.Collections.IEnumerator