C# Class EmoteNet.LittleEndian

ファイルを表示 Open project: xmoeproject/X-moe

Public Methods

Method Description
Pack ( int value, byte buf, int index ) : void
Pack ( long value, byte buf, int index ) : void
Pack ( short value, byte buf, int index ) : void
Pack ( uint value, byte buf, int index ) : void
Pack ( ulong value, byte buf, int index ) : void
Pack ( ushort value, byte buf, int index ) : void
ToInt16 ( byte value, int index ) : short
ToInt32 ( byte value, int index ) : int
ToInt64 ( byte value, int index ) : long
ToUInt16 ( byte value, int index ) : ushort
ToUInt32 ( byte value, int index ) : uint
ToUInt64 ( byte value, int index ) : ulong

Method Details

Pack() public static method

public static Pack ( int value, byte buf, int index ) : void
value int
buf byte
index int
return void

Pack() public static method

public static Pack ( long value, byte buf, int index ) : void
value long
buf byte
index int
return void

Pack() public static method

public static Pack ( short value, byte buf, int index ) : void
value short
buf byte
index int
return void

Pack() public static method

public static Pack ( uint value, byte buf, int index ) : void
value uint
buf byte
index int
return void

Pack() public static method

public static Pack ( ulong value, byte buf, int index ) : void
value ulong
buf byte
index int
return void

Pack() public static method

public static Pack ( ushort value, byte buf, int index ) : void
value ushort
buf byte
index int
return void

ToInt16() public static method

public static ToInt16 ( byte value, int index ) : short
value byte
index int
return short

ToInt32() public static method

public static ToInt32 ( byte value, int index ) : int
value byte
index int
return int

ToInt64() public static method

public static ToInt64 ( byte value, int index ) : long
value byte
index int
return long

ToUInt16() public static method

public static ToUInt16 ( byte value, int index ) : ushort
value byte
index int
return ushort

ToUInt32() public static method

public static ToUInt32 ( byte value, int index ) : uint
value byte
index int
return uint

ToUInt64() public static method

public static ToUInt64 ( byte value, int index ) : ulong
value byte
index int
return ulong