C# 클래스 LiteDB_V6.DataService

파일 보기 프로젝트 열기: faush01/Emby.Kodi.SyncQueue 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

DataService() 공개 메소드

public DataService ( PageService pager ) : System
pager PageService
리턴 System

GetBlock() 공개 메소드

Get a data block from a DataPage using address
public GetBlock ( LiteDB blockAddress ) : DataBlock
blockAddress LiteDB
리턴 DataBlock

Read() 공개 메소드

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
리턴 byte[]

ReadExtendData() 공개 메소드

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