C# Class FileFind.Meshwork.EndianBitConverter

Exibir arquivo Open project: codebutler/meshwork Class Usage Examples

Public Methods

Method Description
GetBytes ( bool value ) : byte[]
GetBytes ( char value ) : byte[]
GetBytes ( double value ) : byte[]
GetBytes ( float value ) : byte[]
GetBytes ( int value ) : byte[]
GetBytes ( long value ) : byte[]
GetBytes ( short value ) : byte[]
GetBytes ( uint value ) : byte[]
GetBytes ( ulong value ) : byte[]
GetBytes ( ushort value ) : byte[]
ToInt32 ( byte value, int startIndex ) : int
ToString ( byte value ) : string
ToString ( byte value, int startIndex, int length ) : string
ToUInt32 ( byte value, int startIndex ) : UInt32
ToUInt64 ( byte value, int startIndex ) : System.UInt64

Method Details

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

GetBytes() public static method

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

ToInt32() public static method

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

ToString() public static method

public static ToString ( byte value ) : string
value byte
return string

ToString() public static method

public static ToString ( byte value, int startIndex, int length ) : string
value byte
startIndex int
length int
return string

ToUInt32() public static method

public static ToUInt32 ( byte value, int startIndex ) : UInt32
value byte
startIndex int
return System.UInt32

ToUInt64() public static method

public static ToUInt64 ( byte value, int startIndex ) : System.UInt64
value byte
startIndex int
return System.UInt64