C# Class LiteDB_V6.DataService

Afficher le fichier Open project: faush01/Emby.Kodi.SyncQueue Class Usage Examples

Méthodes publiques

Méthode Description
DataService ( PageService pager ) : System
GetBlock ( LiteDB blockAddress ) : DataBlock

Get a data block from a DataPage using address

Read ( LiteDB blockAddress ) : byte[]

Read all data from datafile using a pageID as reference. If data is not in DataPage, read from ExtendPage.

ReadExtendData ( uint extendPageID ) : byte[]

Read all data from a extended page with all subsequences pages if exits

Method Details

DataService() public méthode

public DataService ( PageService pager ) : System
pager PageService
Résultat System

GetBlock() public méthode

Get a data block from a DataPage using address
public GetBlock ( LiteDB blockAddress ) : DataBlock
blockAddress LiteDB
Résultat DataBlock

Read() public méthode

Read all data from datafile using a pageID as reference. If data is not in DataPage, read from ExtendPage.
public Read ( LiteDB blockAddress ) : byte[]
blockAddress LiteDB
Résultat byte[]

ReadExtendData() public méthode

Read all data from a extended page with all subsequences pages if exits
public ReadExtendData ( uint extendPageID ) : byte[]
extendPageID uint
Résultat byte[]