//! Protobuf encoding for the IPC envelopes.
use Message;
use InvokeBody;
/// Decode a command argument from a raw IPC payload.
///
/// Rejects JSON payloads: the TypeScript side always sends an `ArrayBuffer`,
/// so a JSON body means a hand-rolled caller or a version mismatch, and
/// silently accepting the number-array form would hide the cost we designed
/// the protobuf envelope to avoid.
pub
/// Encode a value for the IPC response or a channel frame.
pub