C# Class MsgPack.UnpackingTest_Misc.WrapperStream

Inheritance: Stream
显示文件 Open project: msgpack/msgpack-cli

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
WrapperStream ( Stream stream, bool canRead = true, bool canWrite = true, bool canSeek = true ) : System
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
VerifyState ( bool precondition ) : void

Method Details

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 buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

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

SetLength() public method

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

WrapperStream() public method

public WrapperStream ( Stream stream, bool canRead = true, bool canWrite = true, bool canSeek = true ) : System
stream Stream
canRead bool
canWrite bool
canSeek bool
return System

Write() public method

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