C# Class ExcelToolKit.BinaryFormat.XlsBiffRecord

BIFF:Binary Interchange File Format Represents basic BIFF record Base class for all BIFF record types
Exibir arquivo Open project: fanfeilong/exceltk Class Usage Examples

Protected Properties

Property Type Description
m_bytes byte[]
m_readoffset int
reader ExcelBinaryReader

Private Properties

Property Type Description

Public Methods

Method Description
GetRecord ( byte bytes, uint offset, ExcelBinaryReader reader ) : XlsBiffRecord

Returns record at specified offset

ReadArray ( int offset, int size ) : byte[]
ReadByte ( int offset ) : byte
ReadDouble ( int offset ) : double
ReadFloat ( int offset ) : float
ReadInt16 ( int offset ) : short
ReadInt32 ( int offset ) : int
ReadInt64 ( int offset ) : long
ReadUInt16 ( int offset ) : ushort
ReadUInt32 ( int offset ) : uint
ReadUInt64 ( int offset ) : ulong

Protected Methods

Method Description
XlsBiffRecord ( byte bytes, uint offset, ExcelBinaryReader reader ) : System

Method Details

GetRecord() public static method

Returns record at specified offset
public static GetRecord ( byte bytes, uint offset, ExcelBinaryReader reader ) : XlsBiffRecord
bytes byte byte array
offset uint position in array
reader ExcelBinaryReader
return XlsBiffRecord

ReadArray() public method

public ReadArray ( int offset, int size ) : byte[]
offset int
size int
return byte[]

ReadByte() public method

public ReadByte ( int offset ) : byte
offset int
return byte

ReadDouble() public method

public ReadDouble ( int offset ) : double
offset int
return double

ReadFloat() public method

public ReadFloat ( int offset ) : float
offset int
return float

ReadInt16() public method

public ReadInt16 ( int offset ) : short
offset int
return short

ReadInt32() public method

public ReadInt32 ( int offset ) : int
offset int
return int

ReadInt64() public method

public ReadInt64 ( int offset ) : long
offset int
return long

ReadUInt16() public method

public ReadUInt16 ( int offset ) : ushort
offset int
return ushort

ReadUInt32() public method

public ReadUInt32 ( int offset ) : uint
offset int
return uint

ReadUInt64() public method

public ReadUInt64 ( int offset ) : ulong
offset int
return ulong

XlsBiffRecord() protected method

protected XlsBiffRecord ( byte bytes, uint offset, ExcelBinaryReader reader ) : System
bytes byte
offset uint
reader ExcelBinaryReader
return System

Property Details

m_bytes protected_oe property

protected byte[] m_bytes
return byte[]

m_readoffset protected_oe property

protected int m_readoffset
return int

reader protected_oe property

protected ExcelBinaryReader reader
return ExcelBinaryReader