Encoder avec AMF

Encode l'entrée avec “AMF” selon la norme correspondante.

Entrée: JSON structuréRésultat: Octets binaires

Saisie de texte

Exécuter pour voir le résultat

Exemples

A legacy Flash greeting

Entrée

"Hello"

Expected answer

Hexadecimal bytes
02 00 05 48 65 6c 6c 6f
Format
AMF0
An accented AMF0 string

Entrée

"café"

Expected answer

Hexadecimal bytes
02 00 05 63 61 66 c3 a9
Format
AMF0
A log status string

Entrée

"READY"

Expected answer

Hexadecimal bytes
02 00 05 52 45 41 44 59
Format
AMF0
A name containing punctuation

Entrée

"sensor:alpha"

Expected answer

Hexadecimal bytes
02 00 0c 73 65 6e 73 6f 72 3a 61 6c 70 68 61
Format
AMF0
A Japanese label in AMF0

Entrée

"日本語"

Expected answer

Hexadecimal bytes
02 00 09 e6 97 a5 e6 9c ac e8 aa 9e
Format
AMF0

Outils associés

Format des données

Référence de l’opération

Voir la documentation technique originale (English)