C# Class ServiceStack.Redis.BufferedStream

Inheritance: Stream
Datei anzeigen Open project: ServiceStack/ServiceStack.Redis Class Usage Examples

Public Methods

Method Description
BufferedStream ( Stream stream ) : System
BufferedStream ( Stream stream, int bufferSize ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int length ) : int
Seek ( long position, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte buffer, int offset, int length ) : void

Method Details

BufferedStream() public method

public BufferedStream ( Stream stream ) : System
stream Stream
return System

BufferedStream() public method

public BufferedStream ( Stream stream, int bufferSize ) : System
stream Stream
bufferSize int
return System

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

Seek() public method

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

SetLength() public method

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

Write() public method

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