Ξ SEARCH

code · XI LIBRARY

wire.py · -.Termux.Runtime.Kernel.v-.

A doorway to the original work.

Open original source ↗

Source / collection credit
rookslackie / GitHub
Indexed coverage
full public source text

From the indexed source

Source file: xi_quantum/_vendor/xi_crypto/wire.py """A new, explicitly versioned canonical JSON subset. Not a legacy Xi AST.""" import base64 import hashlib import json import re MAX_PAYLOAD = 1024 * 1024 MAX_WIRE = 4 * 1024 * 1024 CANONICAL = "xi.ascii-json.v1" class ProtocolError(ValueError): pass def _valid(value, depth=0): if depth > 24: raise ProtocolError("JSON nesting limit exceeded") if value is None or type(value) is bool: return if type…
Source address and shareable entry

https://github.com/rookslackie/-.Termux.Runtime.Kernel.v-./blob/main/xi_quantum/_vendor/xi_crypto/wire.py

https://www.xi-field.com/library/entry/62e564b56d791b45a73fe91f

Follow another thread

Related by words in the titles.