C# Class MsgPack.BigEndianBinary

Define bit operations which enforce big endian.
ファイルを表示 Open project: msgpack/msgpack-cli Class Usage Examples

Public Methods

Method Description
ToByte ( byte buffer, int offset ) : byte
ToDouble ( byte buffer, int offset ) : double
ToInt16 ( byte buffer, int offset ) : short
ToInt32 ( byte buffer, int offset ) : int
ToInt64 ( byte buffer, int offset ) : long
ToSByte ( byte buffer, int offset ) : sbyte
ToSingle ( byte buffer, int offset ) : float
ToUInt16 ( byte buffer, int offset ) : ushort
ToUInt32 ( byte buffer, int offset ) : uint
ToUInt64 ( byte buffer, int offset ) : ulong

Method Details

ToByte() public static method

public static ToByte ( byte buffer, int offset ) : byte
buffer byte
offset int
return byte

ToDouble() public static method

public static ToDouble ( byte buffer, int offset ) : double
buffer byte
offset int
return double

ToInt16() public static method

public static ToInt16 ( byte buffer, int offset ) : short
buffer byte
offset int
return short

ToInt32() public static method

public static ToInt32 ( byte buffer, int offset ) : int
buffer byte
offset int
return int

ToInt64() public static method

public static ToInt64 ( byte buffer, int offset ) : long
buffer byte
offset int
return long

ToSByte() public static method

public static ToSByte ( byte buffer, int offset ) : sbyte
buffer byte
offset int
return sbyte

ToSingle() public static method

public static ToSingle ( byte buffer, int offset ) : float
buffer byte
offset int
return float

ToUInt16() public static method

public static ToUInt16 ( byte buffer, int offset ) : ushort
buffer byte
offset int
return ushort

ToUInt32() public static method

public static ToUInt32 ( byte buffer, int offset ) : uint
buffer byte
offset int
return uint

ToUInt64() public static method

public static ToUInt64 ( byte buffer, int offset ) : ulong
buffer byte
offset int
return ulong