ConvertHelper Methods | Helper帮助文档 |
The ConvertHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
BytesToInt32 |
将byte[]转换成int
|
![]() ![]() |
BytesToString |
使用指定字符集将byte[]转换成string
|
![]() ![]() |
ConvertBase |
实现各进制数间的转换。ConvertBase("15",10,16)表示将十进制数15转换为16进制的数。
|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() ![]() |
RepairZero |
指定字符串的固定长度,如果字符串小于固定长度,
则在字符串的前面补足零,可设置的固定长度最大为9位
|
![]() ![]() |
StringToBytes |
使用指定字符集将string转换成byte[]
|
![]() |
ToString | (Inherited from Object.) |
See Also