C# Class System.HexConvert

Mostra file Open project: deniszykov/typeconvert

Public Methods

Method Description
CopyBufferToHexBuffer ( byte buffer, int offset, int count, char hexBuffer, int hexBufferOffset ) : void
CopyHexBufferToBuffer ( char hexBuffer, int offset, int count, byte buffer, int bufferOffset ) : void
ToBuffer ( char hexBuffer ) : byte[]
ToBuffer ( char hexBuffer, int offset, int count ) : byte[]
ToBuffer ( string hexString ) : byte[]
ToBuffer ( string hexString, int offset, int count ) : byte[]
ToHex ( byte value, char hexBuffer, int offset ) : int
ToHex ( uint value, char hexBuffer, int offset ) : int
ToHex ( ulong value, char hexBuffer, int offset ) : int
ToHex ( ushort value, char hexBuffer, int offset ) : int
ToHex ( byte buffer ) : string
ToHex ( byte buffer, int offset, int count ) : string
ToHexBuffer ( byte buffer ) : char[]
ToHexBuffer ( byte buffer, int offset, int count ) : char[]
ToUInt16 ( char hexBuffer, int offset ) : ushort
ToUInt16 ( string hexString, int offset ) : ushort
ToUInt32 ( char hexBuffer, int offset ) : uint
ToUInt32 ( string hexString, int offset ) : uint
ToUInt64 ( char hexBuffer, int offset ) : ulong
ToUInt64 ( string hexString, int offset ) : ulong
ToUInt8 ( char hexBuffer, int offset ) : byte
ToUInt8 ( string hexString, int offset ) : byte

Private Methods

Method Description
ToHexNum ( char hexChar ) : uint

Method Details

CopyBufferToHexBuffer() public static method

public static CopyBufferToHexBuffer ( byte buffer, int offset, int count, char hexBuffer, int hexBufferOffset ) : void
buffer byte
offset int
count int
hexBuffer char
hexBufferOffset int
return void

CopyHexBufferToBuffer() public static method

public static CopyHexBufferToBuffer ( char hexBuffer, int offset, int count, byte buffer, int bufferOffset ) : void
hexBuffer char
offset int
count int
buffer byte
bufferOffset int
return void

ToBuffer() public static method

public static ToBuffer ( char hexBuffer ) : byte[]
hexBuffer char
return byte[]

ToBuffer() public static method

public static ToBuffer ( char hexBuffer, int offset, int count ) : byte[]
hexBuffer char
offset int
count int
return byte[]

ToBuffer() public static method

public static ToBuffer ( string hexString ) : byte[]
hexString string
return byte[]

ToBuffer() public static method

public static ToBuffer ( string hexString, int offset, int count ) : byte[]
hexString string
offset int
count int
return byte[]

ToHex() public static method

public static ToHex ( byte value, char hexBuffer, int offset ) : int
value byte
hexBuffer char
offset int
return int

ToHex() public static method

public static ToHex ( uint value, char hexBuffer, int offset ) : int
value uint
hexBuffer char
offset int
return int

ToHex() public static method

public static ToHex ( ulong value, char hexBuffer, int offset ) : int
value ulong
hexBuffer char
offset int
return int

ToHex() public static method

public static ToHex ( ushort value, char hexBuffer, int offset ) : int
value ushort
hexBuffer char
offset int
return int

ToHex() public static method

public static ToHex ( byte buffer ) : string
buffer byte
return string

ToHex() public static method

public static ToHex ( byte buffer, int offset, int count ) : string
buffer byte
offset int
count int
return string

ToHexBuffer() public static method

public static ToHexBuffer ( byte buffer ) : char[]
buffer byte
return char[]

ToHexBuffer() public static method

public static ToHexBuffer ( byte buffer, int offset, int count ) : char[]
buffer byte
offset int
count int
return char[]

ToUInt16() public static method

public static ToUInt16 ( char hexBuffer, int offset ) : ushort
hexBuffer char
offset int
return ushort

ToUInt16() public static method

public static ToUInt16 ( string hexString, int offset ) : ushort
hexString string
offset int
return ushort

ToUInt32() public static method

public static ToUInt32 ( char hexBuffer, int offset ) : uint
hexBuffer char
offset int
return uint

ToUInt32() public static method

public static ToUInt32 ( string hexString, int offset ) : uint
hexString string
offset int
return uint

ToUInt64() public static method

public static ToUInt64 ( char hexBuffer, int offset ) : ulong
hexBuffer char
offset int
return ulong

ToUInt64() public static method

public static ToUInt64 ( string hexString, int offset ) : ulong
hexString string
offset int
return ulong

ToUInt8() public static method

public static ToUInt8 ( char hexBuffer, int offset ) : byte
hexBuffer char
offset int
return byte

ToUInt8() public static method

public static ToUInt8 ( string hexString, int offset ) : byte
hexString string
offset int
return byte