C# Class Sproto.SprotoStream

Mostrar archivo Open project: lvzixun/sproto-Csharp Class Usage Examples

Public Methods

Method Description
MoveUp ( int position, int up_count ) : void
Read ( byte buffer, int offset, int count ) : void
Seek ( int offset, SeekOrigin loc ) : int
SprotoStream ( ) : System
Write ( byte data, int offset, int count ) : void
WriteByte ( byte v ) : void
this ( int i ) : byte

Private Methods

Method Description
_expand ( int sz ) : void

Method Details

MoveUp() public method

public MoveUp ( int position, int up_count ) : void
position int
up_count int
return void

Read() public method

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

Seek() public method

public Seek ( int offset, SeekOrigin loc ) : int
offset int
loc SeekOrigin
return int

SprotoStream() public method

public SprotoStream ( ) : System
return System

Write() public method

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

WriteByte() public method

public WriteByte ( byte v ) : void
v byte
return void

this() public method

public this ( int i ) : byte
i int
return byte