C# Class GSF.IO.BinaryStreamWrapper

A simple wrapper of a Stream. Provides no caching functionality.
Inheritance: BinaryStreamBase
显示文件 Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
BinaryStreamWrapper ( Stream stream, bool ownsStream ) : System.IO
Flush ( ) : void
Read ( byte value, int offset, int count ) : int
ReadUInt8 ( ) : byte
SetLength ( long value ) : void
Write ( byte value ) : void
Write ( byte value, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

BinaryStreamWrapper() public method

public BinaryStreamWrapper ( Stream stream, bool ownsStream ) : System.IO
stream System.IO.Stream
ownsStream bool
return System.IO

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte value, int offset, int count ) : int
value byte
offset int
count int
return int

ReadUInt8() public method

public ReadUInt8 ( ) : byte
return byte

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte value ) : void
value byte
return void

Write() public method

public Write ( byte value, int offset, int count ) : void
value byte
offset int
count int
return void