C# Class NBitcoin.BouncyCastle.Utilities.Encoders.Hex

Class to decode and encode Hex.
显示文件 Open project: Nethereum/Nethereum

Public Methods

Method Description
Decode ( byte data ) : byte[]
Decode ( string data ) : byte[]
Decode ( string data, Stream outStream ) : int
Encode ( byte data ) : byte[]
Encode ( byte data, int off, int length ) : byte[]
Encode ( byte data, Stream outStream ) : int
Encode ( byte data, int off, int length, Stream outStream ) : int

Private Methods

Method Description
Hex ( ) : System.IO

Method Details

Decode() public static method

public static Decode ( byte data ) : byte[]
data byte
return byte[]

Decode() public static method

public static Decode ( string data ) : byte[]
data string
return byte[]

Decode() public static method

public static Decode ( string data, Stream outStream ) : int
data string
outStream Stream
return int

Encode() public static method

public static Encode ( byte data ) : byte[]
data byte
return byte[]

Encode() public static method

public static Encode ( byte data, int off, int length ) : byte[]
data byte
off int
length int
return byte[]

Encode() public static method

public static Encode ( byte data, Stream outStream ) : int
data byte
outStream Stream
return int

Encode() public static method

public static Encode ( byte data, int off, int length, Stream outStream ) : int
data byte
off int
length int
outStream Stream
return int