Optionalmessage?: MessageBase | nullOptionalraw?: Uint8Array<ArrayBufferLike> | nullreceived wire bytes (decode path)
Optionalsequence?: numberOutlet packet handle returned by ChannelOutletBase#send. Always null until assigned.
Static_Decode the header + message body from raw.
Internal wrapper that carries a message over a channel and tracks its state.
On the wire:
msgtype(2) || sequence(2) || length(2) || data. Thelengthfield is written for protocol consistency; unpacking slices everything after the 6-byte header (matching the Python reference).