C# 클래스 GSF.IO.Unmanaged.BinaryStream

상속: BinaryStreamPointerBase
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

메소드 설명
BinaryStream ( ) : System

Creates a BinaryStream that is in memory only.

BinaryStream ( ISupportsBinaryStream stream, bool leaveOpen = true ) : System

Creates a BinaryStream that is at position 0 of the provided stream.

BinaryStream ( MemoryPool pool ) : System

Creates a BinaryStream that is in memory only.

BinaryStream ( bool allocatesOwnMemory ) : System

Creates a BinaryStream that is in memory only.

ClearLocks ( ) : void

When accessing the underlying stream, a lock is placed on the data. Calling this method clears that lock.

UpdateLocalBuffer ( bool isWriting ) : void

Updates the local buffer data.

보호된 메소드들

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

비공개 메소드들

메소드 설명
CreatePool ( bool allocatesOwnMemory ) : ISupportsBinaryStream

메소드 상세

BinaryStream() 공개 메소드

Creates a BinaryStream that is in memory only.
public BinaryStream ( ) : System
리턴 System

BinaryStream() 공개 메소드

Creates a BinaryStream that is at position 0 of the provided stream.
public BinaryStream ( ISupportsBinaryStream stream, bool leaveOpen = true ) : System
stream ISupportsBinaryStream The base stream to use.
leaveOpen bool Determines if the underlying stream will automatically be /// disposed of when this class has it's dispose method called.
리턴 System

BinaryStream() 공개 메소드

Creates a BinaryStream that is in memory only.
public BinaryStream ( MemoryPool pool ) : System
pool MemoryPool
리턴 System

BinaryStream() 공개 메소드

Creates a BinaryStream that is in memory only.
public BinaryStream ( bool allocatesOwnMemory ) : System
allocatesOwnMemory bool true to allowcate its own memory rather than using the .
리턴 System

ClearLocks() 공개 메소드

When accessing the underlying stream, a lock is placed on the data. Calling this method clears that lock.
public ClearLocks ( ) : void
리턴 void

Dispose() 보호된 메소드

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

UpdateLocalBuffer() 공개 메소드

Updates the local buffer data.
public UpdateLocalBuffer ( bool isWriting ) : void
isWriting bool hints to the stream if write access is desired.
리턴 void