C# Class Tamir.SharpSsh.jsch.Buffer

Mostra file Open project: soywiz/csharputils Class Usage Examples

Public Methods

Method Description
Buffer ( ) : System
Buffer ( byte buffer ) : System
Buffer ( int size ) : System
ReadByte ( ) : int
ReadByte ( int len ) : int
ReadByte ( byte foo ) : void
ReadInt ( ) : int
ReadLong ( ) : long
ReadMPInt ( ) : byte[]
ReadMPIntBits ( ) : byte[]
ReadString ( ) : byte[]
Reset ( ) : void
Shift ( ) : void
WriteByte ( byte foo ) : void
WriteByte ( byte foo, int begin, int length ) : void
WriteInt ( int v ) : void
WriteInt ( uint v ) : void
WriteLong ( long v ) : void
WriteMPInt ( byte foo ) : void
WriteString ( String foo ) : void
WriteString ( byte foo ) : void
WriteString ( byte foo, int begin, int length ) : void

Private Methods

Method Description
ReadByte ( byte foo, int start, int len ) : void
ReadShort ( ) : int
ReadString ( int start, int len ) : byte[]
Rewind ( ) : void
Skip ( int n ) : void
WritePadding ( int n ) : void

Method Details

Buffer() public method

public Buffer ( ) : System
return System

Buffer() public method

public Buffer ( byte buffer ) : System
buffer byte
return System

Buffer() public method

public Buffer ( int size ) : System
size int
return System

ReadByte() public method

public ReadByte ( ) : int
return int

ReadByte() public method

public ReadByte ( int len ) : int
len int
return int

ReadByte() public method

public ReadByte ( byte foo ) : void
foo byte
return void

ReadInt() public method

public ReadInt ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadMPInt() public method

public ReadMPInt ( ) : byte[]
return byte[]

ReadMPIntBits() public method

public ReadMPIntBits ( ) : byte[]
return byte[]

ReadString() public method

public ReadString ( ) : byte[]
return byte[]

Reset() public method

public Reset ( ) : void
return void

Shift() public method

public Shift ( ) : void
return void

WriteByte() public method

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

WriteByte() public method

public WriteByte ( byte foo, int begin, int length ) : void
foo byte
begin int
length int
return void

WriteInt() public method

public WriteInt ( int v ) : void
v int
return void

WriteInt() public method

public WriteInt ( uint v ) : void
v uint
return void

WriteLong() public method

public WriteLong ( long v ) : void
v long
return void

WriteMPInt() public method

public WriteMPInt ( byte foo ) : void
foo byte
return void

WriteString() public method

public WriteString ( String foo ) : void
foo String
return void

WriteString() public method

public WriteString ( byte foo ) : void
foo byte
return void

WriteString() public method

public WriteString ( byte foo, int begin, int length ) : void
foo byte
begin int
length int
return void