文本与整数转换

把文本字符代码按大端顺序解释为大整数,或执行反向转换。

输入: 文本结果: 文本

文本输入

工具选项

案例

Text-Integer Conversion decimal to hex conversion

输入

255

Expected answer

0xff
输出格式
Hexadecimal
Text-Integer Conversion decimal to string

输入

4276803

Expected answer

ABC
输出格式
String
Text-Integer Conversion hex to decimal conversion

输入

0xFF

Expected answer

JSON
255
输出格式
Decimal
Text-Integer Conversion hexadecimal to string

输入

0x48656C6C6F

Expected answer

Hello
输出格式
String
Text-Integer Conversion large number to string

输入

113091951015816448506195587157728348242683688608116

Expected answer

Mary had a little cat
输出格式
String
Text-Integer Conversion non-Latin1 character in input

输入

fbf874ce8b4307a14096566f.bin

4 bytes

下载

Expected rejection

Message contains
Character at position 1 exceeds Latin-1 range (0-255).
Only ASCII and Latin-1 characters are supported.
输出格式
Decimal
Text-Integer Conversion quoted string to decimal

输入

"ABC"

Expected answer

JSON
4276803
输出格式
Decimal
Text-Integer Conversion quoted string to hexadecimal

输入

"ABC"

Expected answer

0x414243
输出格式
Hexadecimal
Text-Integer Conversion single character

输入

"A"

Expected answer

JSON
65
输出格式
Decimal
Text-Integer Conversion single quoted string to decimal

输入

'Hello'

Expected answer

JSON
310939249775
输出格式
Decimal

参数

参数默认值输入与选项
输出格式字符串字符串, Decimal, Hexadecimal

相关工具

数据格式

操作参考

查看原始技术文档 (English)