C# 클래스 BplusDotNet.BufferFile

Provides an indexed object which maps to buffers in an underlying file object
파일 보기 프로젝트 열기: benaston/BTree 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HEADERPREFIX byte[]
MINBUFFERSIZE int
buffersize int

공개 메소드들

메소드 설명
BufferFile ( System fromfile, int buffersize ) : System
BufferFile ( System fromfile, int buffersize, long seekStart ) : System
Flush ( ) : void
InitializeBufferFileInStream ( System fromfile, int buffersize ) : BufferFile
InitializeBufferFileInStream ( System fromfile, int buffersize, long StartSeek ) : BufferFile
Retrieve ( byte ToArray, int atIndex ) : int
RetrieveLong ( byte ToArray, int atIndex ) : long
RetrieveShort ( byte ToArray, int atIndex ) : short
SetupFromExistingStream ( System fromfile ) : BufferFile
SetupFromExistingStream ( System fromfile, long StartSeek ) : BufferFile
Store ( int TheInt, byte ToArray, int atIndex ) : void
Store ( long TheLong, byte ToArray, int atIndex ) : void
Store ( short TheShort, byte ToArray, int atIndex ) : void
getBuffer ( long buffernumber, byte toArray, int startingAt, int length ) : void
makeHeader ( ) : byte[]
nextBufferNumber ( ) : long
readHeader ( ) : void
sanityCheck ( ) : void
setBuffer ( long buffernumber, byte fromArray, int startingAt, int length ) : void
setHeader ( ) : void

비공개 메소드들

메소드 설명
bufferSeek ( long bufferNumber ) : long

메소드 상세

BufferFile() 공개 메소드

public BufferFile ( System fromfile, int buffersize ) : System
fromfile System
buffersize int
리턴 System

BufferFile() 공개 메소드

public BufferFile ( System fromfile, int buffersize, long seekStart ) : System
fromfile System
buffersize int
seekStart long
리턴 System

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

InitializeBufferFileInStream() 공개 정적인 메소드

public static InitializeBufferFileInStream ( System fromfile, int buffersize ) : BufferFile
fromfile System
buffersize int
리턴 BufferFile

InitializeBufferFileInStream() 공개 정적인 메소드

public static InitializeBufferFileInStream ( System fromfile, int buffersize, long StartSeek ) : BufferFile
fromfile System
buffersize int
StartSeek long
리턴 BufferFile

Retrieve() 공개 정적인 메소드

public static Retrieve ( byte ToArray, int atIndex ) : int
ToArray byte
atIndex int
리턴 int

RetrieveLong() 공개 정적인 메소드

public static RetrieveLong ( byte ToArray, int atIndex ) : long
ToArray byte
atIndex int
리턴 long

RetrieveShort() 공개 정적인 메소드

public static RetrieveShort ( byte ToArray, int atIndex ) : short
ToArray byte
atIndex int
리턴 short

SetupFromExistingStream() 공개 정적인 메소드

public static SetupFromExistingStream ( System fromfile ) : BufferFile
fromfile System
리턴 BufferFile

SetupFromExistingStream() 공개 정적인 메소드

public static SetupFromExistingStream ( System fromfile, long StartSeek ) : BufferFile
fromfile System
StartSeek long
리턴 BufferFile

Store() 공개 정적인 메소드

public static Store ( int TheInt, byte ToArray, int atIndex ) : void
TheInt int
ToArray byte
atIndex int
리턴 void

Store() 공개 정적인 메소드

public static Store ( long TheLong, byte ToArray, int atIndex ) : void
TheLong long
ToArray byte
atIndex int
리턴 void

Store() 공개 정적인 메소드

public static Store ( short TheShort, byte ToArray, int atIndex ) : void
TheShort short
ToArray byte
atIndex int
리턴 void

getBuffer() 공개 메소드

public getBuffer ( long buffernumber, byte toArray, int startingAt, int length ) : void
buffernumber long
toArray byte
startingAt int
length int
리턴 void

makeHeader() 공개 메소드

public makeHeader ( ) : byte[]
리턴 byte[]

nextBufferNumber() 공개 메소드

public nextBufferNumber ( ) : long
리턴 long

readHeader() 공개 메소드

public readHeader ( ) : void
리턴 void

sanityCheck() 공개 메소드

public sanityCheck ( ) : void
리턴 void

setBuffer() 공개 메소드

public setBuffer ( long buffernumber, byte fromArray, int startingAt, int length ) : void
buffernumber long
fromArray byte
startingAt int
length int
리턴 void

setHeader() 공개 메소드

public setHeader ( ) : void
리턴 void

프로퍼티 상세

HEADERPREFIX 공개적으로 정적으로 프로퍼티

public static byte[] HEADERPREFIX
리턴 byte[]

MINBUFFERSIZE 공개적으로 정적으로 프로퍼티

public static int MINBUFFERSIZE
리턴 int

buffersize 공개적으로 프로퍼티

public int buffersize
리턴 int