Différences
Ci-dessous, les différences entre deux révisions de la page.
| reseaux:generalites:serialisation [2022/09/07 19:28] – phil | reseaux:generalites:serialisation [2025/06/19 19:29] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 35: | Ligne 35: | ||
| val = b" | val = b" | ||
| - | ser = binascii.hexlify (val) | + | ser = binascii.hexlify(val) |
| print (f"La variable val ({val}) occupe {len(val)} octets" | print (f"La variable val ({val}) occupe {len(val)} octets" | ||
| print (f"La variable ser ({ser}) occupe {len(ser)} octets" | print (f"La variable ser ({ser}) occupe {len(ser)} octets" | ||
| Ligne 228: | Ligne 228: | ||
| <callout type=" | <callout type=" | ||
| - | === 7. CBOR === | + | ==== 7. CBOR ==== |
| {{ : | {{ : | ||
| Voir [[reseaux: | Voir [[reseaux: | ||