C# Class hOOt.StorageFile

Exibir arquivo Open project: TargetProcess/Target-Process-Plugins

Public Properties

Property Type Description
SkipDateTime bool
_fileheader byte[]
_rowheader byte[]

Public Methods

Method Description
ReadData ( int recnum ) : byte[]
Shutdown ( ) : void
StorageFile ( string filename, int maxkeylen ) : System
Traverse ( ) : byte[]>>.IEnumerable
WriteData ( byte key, byte data ) : int

Private Methods

Method Description
CheckHeader ( byte hdr ) : bool
CreateRowHeader ( int keylen, int datalen ) : byte[]
GetRecordsPointerOffset ( int recnum ) : long
NextOffset ( long curroffset, byte &key ) : long
internalReadData ( long offset ) : byte[]

Method Details

ReadData() public method

public ReadData ( int recnum ) : byte[]
recnum int
return byte[]

Shutdown() public method

public Shutdown ( ) : void
return void

StorageFile() public method

public StorageFile ( string filename, int maxkeylen ) : System
filename string
maxkeylen int
return System

Traverse() public method

public Traverse ( ) : byte[]>>.IEnumerable
return byte[]>>.IEnumerable

WriteData() public method

public WriteData ( byte key, byte data ) : int
key byte
data byte
return int

Property Details

SkipDateTime public_oe property

public bool SkipDateTime
return bool

_fileheader public_oe static_oe property

public static byte[] _fileheader
return byte[]

_rowheader public_oe static_oe property

public static byte[] _rowheader
return byte[]