C# Class Hugula.Net.Msg

Mostra file Open project: tenvick/hugula Class Usage Examples

Protected Properties

Property Type Description
_type int
br BinaryReader
buff MemoryStream

Public Methods

Method Description
Debug ( ) : string
Debug ( byte bts ) : string
Msg ( ) : System
Msg ( byte bytes ) : System
ReadBoolean ( ) : bool
ReadByte ( ) : byte
ReadChar ( ) : char
ReadFloat ( ) : float
ReadInt ( ) : int
ReadShort ( ) : short
ReadString ( ) : string
ReadUInt ( ) : uint
ReadULong ( ) : ulong
ReadUShort ( ) : ushort
ReadUTF ( int length ) : string
ToArray ( ) : byte[]
ToCArray ( ) : byte[]

our message pro

Write ( byte value ) : void
WriteBoolean ( bool value ) : void
WriteByte ( byte value ) : void
WriteChar ( char value ) : void
WriteFloat ( float value ) : void
WriteInt ( int value ) : void
WriteShort ( int value ) : void
WriteString ( string value ) : void
WriteUInt ( uint value ) : void
WriteULong ( ulong value ) : void
WriteUShort ( ushort value ) : void
WriteUTFBytes ( string value ) : void

Protected Methods

Method Description
WriteBigEndian ( byte bytes ) : void

Method Details

Debug() public method

public Debug ( ) : string
return string

Debug() public static method

public static Debug ( byte bts ) : string
bts byte
return string

Msg() public method

public Msg ( ) : System
return System

Msg() public method

public Msg ( byte bytes ) : System
bytes byte
return System

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadChar() public method

public ReadChar ( ) : char
return char

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt() public method

public ReadInt ( ) : int
return int

ReadShort() public method

public ReadShort ( ) : short
return short

ReadString() public method

public ReadString ( ) : string
return string

ReadUInt() public method

public ReadUInt ( ) : uint
return uint

ReadULong() public method

public ReadULong ( ) : ulong
return ulong

ReadUShort() public method

public ReadUShort ( ) : ushort
return ushort

ReadUTF() public method

public ReadUTF ( int length ) : string
length int
return string

ToArray() public method

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

ToCArray() public method

our message pro
public ToCArray ( ) : byte[]
return byte[]

Write() public method

public Write ( byte value ) : void
value byte
return void

WriteBigEndian() protected method

protected WriteBigEndian ( byte bytes ) : void
bytes byte
return void

WriteBoolean() public method

public WriteBoolean ( bool value ) : void
value bool
return void

WriteByte() public method

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

WriteChar() public method

public WriteChar ( char value ) : void
value char
return void

WriteFloat() public method

public WriteFloat ( float value ) : void
value float
return void

WriteInt() public method

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

WriteShort() public method

public WriteShort ( int value ) : void
value int
return void

WriteString() public method

public WriteString ( string value ) : void
value string
return void

WriteUInt() public method

public WriteUInt ( uint value ) : void
value uint
return void

WriteULong() public method

public WriteULong ( ulong value ) : void
value ulong
return void

WriteUShort() public method

public WriteUShort ( ushort value ) : void
value ushort
return void

WriteUTFBytes() public method

public WriteUTFBytes ( string value ) : void
value string
return void

Property Details

_type protected_oe property

protected int _type
return int

br protected_oe property

protected BinaryReader br
return BinaryReader

buff protected_oe property

protected MemoryStream buff
return MemoryStream