C# Class Hugula.Net.Msg

Afficher le fichier Open project: tenvick/hugula Class Usage Examples

Protected Properties

Свойство Type Description
_type int
br BinaryReader
buff MemoryStream

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
WriteBigEndian ( byte bytes ) : void

Method Details

Debug() public méthode

public Debug ( ) : string
Résultat string

Debug() public static méthode

public static Debug ( byte bts ) : string
bts byte
Résultat string

Msg() public méthode

public Msg ( ) : System
Résultat System

Msg() public méthode

public Msg ( byte bytes ) : System
bytes byte
Résultat System

ReadBoolean() public méthode

public ReadBoolean ( ) : bool
Résultat bool

ReadByte() public méthode

public ReadByte ( ) : byte
Résultat byte

ReadChar() public méthode

public ReadChar ( ) : char
Résultat char

ReadFloat() public méthode

public ReadFloat ( ) : float
Résultat float

ReadInt() public méthode

public ReadInt ( ) : int
Résultat int

ReadShort() public méthode

public ReadShort ( ) : short
Résultat short

ReadString() public méthode

public ReadString ( ) : string
Résultat string

ReadUInt() public méthode

public ReadUInt ( ) : uint
Résultat uint

ReadULong() public méthode

public ReadULong ( ) : ulong
Résultat ulong

ReadUShort() public méthode

public ReadUShort ( ) : ushort
Résultat ushort

ReadUTF() public méthode

public ReadUTF ( int length ) : string
length int
Résultat string

ToArray() public méthode

public ToArray ( ) : byte[]
Résultat byte[]

ToCArray() public méthode

our message pro
public ToCArray ( ) : byte[]
Résultat byte[]

Write() public méthode

public Write ( byte value ) : void
value byte
Résultat void

WriteBigEndian() protected méthode

protected WriteBigEndian ( byte bytes ) : void
bytes byte
Résultat void

WriteBoolean() public méthode

public WriteBoolean ( bool value ) : void
value bool
Résultat void

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void

WriteChar() public méthode

public WriteChar ( char value ) : void
value char
Résultat void

WriteFloat() public méthode

public WriteFloat ( float value ) : void
value float
Résultat void

WriteInt() public méthode

public WriteInt ( int value ) : void
value int
Résultat void

WriteShort() public méthode

public WriteShort ( int value ) : void
value int
Résultat void

WriteString() public méthode

public WriteString ( string value ) : void
value string
Résultat void

WriteUInt() public méthode

public WriteUInt ( uint value ) : void
value uint
Résultat void

WriteULong() public méthode

public WriteULong ( ulong value ) : void
value ulong
Résultat void

WriteUShort() public méthode

public WriteUShort ( ushort value ) : void
value ushort
Résultat void

WriteUTFBytes() public méthode

public WriteUTFBytes ( string value ) : void
value string
Résultat void

Property Details

_type protected_oe property

protected int _type
Résultat int

br protected_oe property

protected BinaryReader br
Résultat BinaryReader

buff protected_oe property

protected MemoryStream buff
Résultat MemoryStream