C# Class hds.StringUtils

显示文件 Open project: hdneo/mxo-hd

Public Methods

Method Description
StringUtils ( ) : System
bitStringToBytes ( string bitString ) : byte[]
bytesToString ( byte data ) : string
bytesToString ( byte data, int length ) : string
bytesToString_NS ( byte data ) : string
charBytesToString ( byte data ) : string
charBytesToString_NZ ( byte data ) : string
hexStringToBytes ( string hexString ) : byte[]
removeWhitespaceChars ( string data ) : string
stringToBytes ( string data ) : byte[]

Method Details

StringUtils() public method

public StringUtils ( ) : System
return System

bitStringToBytes() public static method

public static bitStringToBytes ( string bitString ) : byte[]
bitString string
return byte[]

bytesToString() public static method

public static bytesToString ( byte data ) : string
data byte
return string

bytesToString() public static method

public static bytesToString ( byte data, int length ) : string
data byte
length int
return string

bytesToString_NS() public static method

public static bytesToString_NS ( byte data ) : string
data byte
return string

charBytesToString() public static method

public static charBytesToString ( byte data ) : string
data byte
return string

charBytesToString_NZ() public static method

public static charBytesToString_NZ ( byte data ) : string
data byte
return string

hexStringToBytes() public static method

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

removeWhitespaceChars() public static method

public static removeWhitespaceChars ( string data ) : string
data string
return string

stringToBytes() public static method

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