C# Class Platform.IO.FifoStream

Inheritance: Stream
Mostrar archivo Open project: platformdotnet/Platform

Private Properties

Property Type Description

Public Methods

Method Description
FifoStream ( int bufferSize ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadToStream ( Stream dest, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteFromStream ( Stream source, int maxCount ) : int

Protected Methods

Method Description
Rebuild ( int minimumSize ) : void

Method Details

FifoStream() public method

public FifoStream ( int bufferSize ) : System
bufferSize int
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

ReadByte() public method

public ReadByte ( ) : int
return int

ReadToStream() public method

public ReadToStream ( Stream dest, int count ) : int
dest Stream
count int
return int

Rebuild() protected method

protected Rebuild ( int minimumSize ) : void
minimumSize int
return void

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

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

Write() public method

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

WriteFromStream() public method

public WriteFromStream ( Stream source, int maxCount ) : int
source Stream
maxCount int
return int