C# 클래스 EventStore.Core.TransactionLog.Unbuffered.UnbufferedFileStream

상속: Stream
파일 보기 프로젝트 열기: EventStore/EventStore

공개 메소드들

메소드 설명
Create ( string path, FileMode mode, FileAccess acc, FileShare share, bool sequential, int internalWriteBufferSize, int internalReadBufferSize, bool writeThrough, uint minBlockSize ) : UnbufferedFileStream
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Align ( IntPtr buf, uint alignTo ) : byte*
CheckDisposed ( ) : void
CopyBuffer ( byte buffer, long offset, long count ) : void
GetLowestAlignment ( long offset ) : long
InternalWrite ( byte buffer, uint count ) : void
MemCopy ( byte src, long srcOffset, byte dest, long destOffset, long count ) : void
SeekInternal ( long positionAligned ) : void
SetBuffer ( long alignedbuffer, long left ) : void
UnbufferedFileStream ( SafeFileHandle handle, uint blockSize, int internalWriteBufferSize, int internalReadBufferSize ) : System

메소드 상세

Create() 공개 정적인 메소드

public static Create ( string path, FileMode mode, FileAccess acc, FileShare share, bool sequential, int internalWriteBufferSize, int internalReadBufferSize, bool writeThrough, uint minBlockSize ) : UnbufferedFileStream
path string
mode FileMode
acc FileAccess
share FileShare
sequential bool
internalWriteBufferSize int
internalReadBufferSize int
writeThrough bool
minBlockSize uint
리턴 UnbufferedFileStream

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void