C# Class GSF.IO.Unmanaged.BinaryStreamPointerWrapper

Creates a BinaryStreamBase that wraps a single pointer.
Inheritance: BinaryStreamPointerBase
Datei anzeigen Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
BinaryStreamPointerWrapper ( byte stream, int length ) : System

Creates a BinaryStreamPointerWrapper.

UpdateLocalBuffer ( bool isWriting ) : void

Updates the local buffer data.

Method Details

BinaryStreamPointerWrapper() public method

Creates a BinaryStreamPointerWrapper.
public BinaryStreamPointerWrapper ( byte stream, int length ) : System
stream byte the byte pointer that starts the stream
length int the valid length of the pointer.
return System

UpdateLocalBuffer() public method

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