Class UnsafeDataProvider
Summary description for UnsafeDataProvider.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class UnsafeDataProvider : IntPtrDataProvider, IDisposable
Constructors
UnsafeDataProvider(IntPtr)
Default constructor to prevent creation of items without arguments.
Declaration
public UnsafeDataProvider(IntPtr heapHandle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | heapHandle |
Methods
CreateProvider()
Creates provider of the same type.
Declaration
public override DataProvider CreateProvider()
Returns
Type | Description |
---|---|
DataProvider | Created provider object. |
Overrides
ReadByte(Int32)
Returns byte value at the specified position.
Declaration
public override byte ReadByte(int iOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
Returns
Type | Description |
---|---|
System.Byte | Byte at the specified position. |
Overrides
ReadDouble(Int32)
Returns Double value at the specified position.
Declaration
public override double ReadDouble(int iOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
Returns
Type | Description |
---|---|
System.Double | Double value at the specified position. |
Overrides
ReadInt16(Int32)
Returns Int16 value at the specified position.
Declaration
public override short ReadInt16(int iOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
Returns
Type | Description |
---|---|
System.Int16 | Int16 value at the specified position. |
Overrides
ReadInt32(Int32)
Returns Int32 value at the specified position.
Declaration
public override int ReadInt32(int iOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
Returns
Type | Description |
---|---|
System.Int32 | Int32 value at the specified position. |
Overrides
ReadInt64(Int32)
Returns Int32 value at the specified position.
Declaration
public override long ReadInt64(int iOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
Returns
Type | Description |
---|---|
System.Int64 | Int32 value at the specified position. |
Overrides
WriteByte(Int32, Byte)
Writes byte value at the specified position.
Declaration
public override void WriteByte(int iOffset, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
System.Byte | value | Byte value to write at the specified position. |
Overrides
WriteDouble(Int32, Double)
Writes Double value at the specified position.
Declaration
public override void WriteDouble(int iOffset, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
System.Double | value | Double value to write at the specified position. |
Overrides
WriteInt16(Int32, Int16)
Writes Int16 value at the specified position.
Declaration
public override void WriteInt16(int iOffset, short value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
System.Int16 | value | Int16 value to write at the specified position. |
Overrides
WriteInt32(Int32, Int32)
Writes Int32 value at the specified position.
Declaration
public override void WriteInt32(int iOffset, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
System.Int32 | value | Int32 value to write at the specified position. |
Overrides
WriteInt64(Int32, Int64)
Writes Int64 value at the specified position.
Declaration
public override void WriteInt64(int iOffset, long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iOffset | Offset to the required value. |
System.Int64 | value | Int64 value to write at the specified position. |