Skip to main content

Module wire

Module wire 

Source
Expand description

Current raw request/reply contracts for generated IcyDB endpoints.

Endpoint identities bind canonical IC Wire envelopes to the maintained native payloads. Database storage codecs and host-owned RPC contracts are separate.

Enums§

Endpoint
One maintained generated endpoint and its current byte-contract identity.
Error
Typed codec/admission failure, distinct from transport and application errors.

Constants§

MAX_REPLY_BYTES
Maximum public reply envelope bytes.
MAX_REQUEST_BYTES
Maximum owned endpoint request envelope bytes.

Functions§

decode_one
Decode one complete canonical payload through IC Wire’s bounded codec.
encode_init_arguments
Encode arguments for a generated composed init hook.
encode_one
Encode a native payload through IC Wire’s bounded codec.
encode_post_upgrade_arguments
Encode arguments for a generated composed post-upgrade hook.
encoded_len
Measure native payload bytes without allocating output storage.