C# Class RavenFS.Util.NarrowedStream

Inheritance: Stream
Datei anzeigen Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
NarrowedStream ( Stream source, long from, long to ) : System
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

Method Details

Flush() public method

public Flush ( ) : void
return void

NarrowedStream() public method

public NarrowedStream ( Stream source, long from, long to ) : System
source Stream
from long
to long
return System

Read() public method

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

Seek() public final method

public final 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