C# Class FactomAPI.Arrays

显示文件 Open project: CryptidID/FactomDotNet

Public Methods

Method Description
ByteArrayToHex ( byte ba ) : string

Converts byte[] to hex string

CopyOfRange ( byte src, int start, int end ) : byte[]

Convience function to emulate Java's CopyOfRange

Method Details

ByteArrayToHex() public static method

Converts byte[] to hex string
public static ByteArrayToHex ( byte ba ) : string
ba byte
return string

CopyOfRange() public static method

Convience function to emulate Java's CopyOfRange
public static CopyOfRange ( byte src, int start, int end ) : byte[]
src byte The byte array to copfrom
start int The index to cut from
end int The index to cut to
return byte[]