Conversión Texto-Entero

Interpreta códigos de caracteres como un entero grande big-endian, o a la inversa.

Entrada: TextoResultado: Texto

Entrada de texto

Opciones

Ejemplos

Text-Integer Conversion decimal to hex conversion

Entrada

255

Expected answer

0xff
Formato de salida
Hexadecimal
Text-Integer Conversion decimal to string

Entrada

4276803

Expected answer

ABC
Formato de salida
String
Text-Integer Conversion hex to decimal conversion

Entrada

0xFF

Expected answer

JSON
255
Formato de salida
Decimal
Text-Integer Conversion hexadecimal to string

Entrada

0x48656C6C6F

Expected answer

Hello
Formato de salida
String
Text-Integer Conversion large number to string

Entrada

113091951015816448506195587157728348242683688608116

Expected answer

Mary had a little cat
Formato de salida
String
Text-Integer Conversion non-Latin1 character in input

Entrada

fbf874ce8b4307a14096566f.bin

4 bytes

Descargar

Expected rejection

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

Entrada

"ABC"

Expected answer

JSON
4276803
Formato de salida
Decimal
Text-Integer Conversion quoted string to hexadecimal

Entrada

"ABC"

Expected answer

0x414243
Formato de salida
Hexadecimal
Text-Integer Conversion single character

Entrada

"A"

Expected answer

JSON
65
Formato de salida
Decimal
Text-Integer Conversion single quoted string to decimal

Entrada

'Hello'

Expected answer

JSON
310939249775
Formato de salida
Decimal

Parámetros

ParámetroValor predeterminadoEntrada y opciones
Formato de salidaCadenaCadena, Decimal, Hexadecimal

Herramientas relacionadas

Formato de datos

Referencia de la operación

Ver la documentación técnica original (English)