C# Class CentralMine.NET.Utils

Mostrar archivo Open project: GarageGames/Bitcoin

Public Methods

Method Description
ByteArrayToHexString ( byte barr ) : string
ByteSwapIntegers ( byte buffer ) : void
HexStringToByteArray ( string hex ) : byte[]
HexStringToUInt ( string hex ) : uint
UIntToHexString ( uint val ) : string
UnixTime ( ) : System.UInt64

Private Methods

Method Description
GetHexVal ( char hex ) : int

Method Details

ByteArrayToHexString() public static method

public static ByteArrayToHexString ( byte barr ) : string
barr byte
return string

ByteSwapIntegers() public static method

public static ByteSwapIntegers ( byte buffer ) : void
buffer byte
return void

HexStringToByteArray() public static method

public static HexStringToByteArray ( string hex ) : byte[]
hex string
return byte[]

HexStringToUInt() public static method

public static HexStringToUInt ( string hex ) : uint
hex string
return uint

UIntToHexString() public static method

public static UIntToHexString ( uint val ) : string
val uint
return string

UnixTime() public static method

public static UnixTime ( ) : System.UInt64
return System.UInt64