C# 클래스 TouchDB.Mono.TDBlobStore

파일 보기 프로젝트 열기: jzablocki/TouchDB-Mono

공개 메소드들

메소드 설명
DeleteBlobExceptWithKeys ( IList keysToKeep ) : int
GetBlobForKey ( TDBlobKey key ) : byte[]
GetBlobStreamForKey ( TDBlobKey key ) : Stream
GetBytesFromFile ( FileInfo file ) : byte[]
GetKeyForBlob ( byte bytes ) : TDBlobKey
GetKeyForBlobFromFile ( FileInfo file ) : TDBlobKey
GetKeyForFileName ( TDBlobKey outKey, string fileName ) : bool
GetPathForKey ( TDBlobKey key ) : string
GetSizeOfBlob ( TDBlobKey key ) : long
StoreBlob ( byte data, TDBlobKey outKey ) : bool
StoreBlobStream ( Stream stream, TDBlobKey outKey ) : bool
TDBlobStore ( string path ) : System

메소드 상세

DeleteBlobExceptWithKeys() 공개 메소드

public DeleteBlobExceptWithKeys ( IList keysToKeep ) : int
keysToKeep IList
리턴 int

GetBlobForKey() 공개 메소드

public GetBlobForKey ( TDBlobKey key ) : byte[]
key TDBlobKey
리턴 byte[]

GetBlobStreamForKey() 공개 메소드

public GetBlobStreamForKey ( TDBlobKey key ) : Stream
key TDBlobKey
리턴 Stream

GetBytesFromFile() 공개 정적인 메소드

public static GetBytesFromFile ( FileInfo file ) : byte[]
file System.IO.FileInfo
리턴 byte[]

GetKeyForBlob() 공개 정적인 메소드

public static GetKeyForBlob ( byte bytes ) : TDBlobKey
bytes byte
리턴 TDBlobKey

GetKeyForBlobFromFile() 공개 정적인 메소드

public static GetKeyForBlobFromFile ( FileInfo file ) : TDBlobKey
file System.IO.FileInfo
리턴 TDBlobKey

GetKeyForFileName() 공개 메소드

public GetKeyForFileName ( TDBlobKey outKey, string fileName ) : bool
outKey TDBlobKey
fileName string
리턴 bool

GetPathForKey() 공개 메소드

public GetPathForKey ( TDBlobKey key ) : string
key TDBlobKey
리턴 string

GetSizeOfBlob() 공개 메소드

public GetSizeOfBlob ( TDBlobKey key ) : long
key TDBlobKey
리턴 long

StoreBlob() 공개 메소드

public StoreBlob ( byte data, TDBlobKey outKey ) : bool
data byte
outKey TDBlobKey
리턴 bool

StoreBlobStream() 공개 메소드

public StoreBlobStream ( Stream stream, TDBlobKey outKey ) : bool
stream Stream
outKey TDBlobKey
리턴 bool

TDBlobStore() 공개 메소드

public TDBlobStore ( string path ) : System
path string
리턴 System