C# Class Yodiwo.Tools.BigBitConverter

显示文件 Open project: yodiwo/plegma

Public Methods

Method Description
GetBytes ( Int16 value ) : byte[]
GetBytes ( Int32 value ) : byte[]
GetBytes ( System.Int64 value ) : byte[]
GetBytes ( UInt16 value ) : byte[]
GetBytes ( UInt32 value ) : byte[]
GetBytes ( System.UInt64 value ) : byte[]
GetBytes ( byte value ) : byte[]
GetBytes ( sbyte value ) : byte[]
PutBytesOfUInt16 ( byte bytes, int startIndex, UInt16 value ) : void
ToUInt16 ( byte bytes, int startIndex ) : UInt16

Method Details

GetBytes() public static method

public static GetBytes ( Int16 value ) : byte[]
value System.Int16
return byte[]

GetBytes() public static method

public static GetBytes ( Int32 value ) : byte[]
value System.Int32
return byte[]

GetBytes() public static method

public static GetBytes ( System.Int64 value ) : byte[]
value System.Int64
return byte[]

GetBytes() public static method

public static GetBytes ( UInt16 value ) : byte[]
value System.UInt16
return byte[]

GetBytes() public static method

public static GetBytes ( UInt32 value ) : byte[]
value System.UInt32
return byte[]

GetBytes() public static method

public static GetBytes ( System.UInt64 value ) : byte[]
value System.UInt64
return byte[]

GetBytes() public static method

public static GetBytes ( byte value ) : byte[]
value byte
return byte[]

GetBytes() public static method

public static GetBytes ( sbyte value ) : byte[]
value sbyte
return byte[]

PutBytesOfUInt16() public static method

public static PutBytesOfUInt16 ( byte bytes, int startIndex, UInt16 value ) : void
bytes byte
startIndex int
value System.UInt16
return void

ToUInt16() public static method

public static ToUInt16 ( byte bytes, int startIndex ) : UInt16
bytes byte
startIndex int
return System.UInt16