Метод | Описание | |
---|---|---|
BytesToStr ( byte byteArray ) : string |
把 字节数组 转化为 字符串
|
|
StrToBytes ( string str ) : byte[] |
把 字符串转化为字节数组
|
|
ToBytes ( this str ) : byte[] |
把 字符串转化为字节数组
|
|
ToStr ( this byteArray ) : string |
把 字节数组 转化为 字符串
|
public static BytesToStr ( byte byteArray ) : string | ||
byteArray | byte | |
Результат | string |
public static StrToBytes ( string str ) : byte[] | ||
str | string | |
Результат | byte[] |
public static ToBytes ( this str ) : byte[] | ||
str | this | |
Результат | byte[] |
public static ToStr ( this byteArray ) : string | ||
byteArray | this | |
Результат | string |