Expand description
SCCP frame encoding and incremental stream decoding.
Construct an outbound Frame and call Frame::encode. For inbound TCP
data, retain one FrameDecoder per connection and feed each received
chunk to FrameDecoder::push; it handles both fragmented and coalesced
frames while enforcing MAX_FRAME_SIZE. Typed message decoding happens
after framing through the message enums in the parent module.
Structs§
- Frame
- One complete SCCP frame with an uninterpreted payload.
- Frame
Decoder - Incremental decoder for an SCCP byte stream.
Enums§
- Codec
Error - Validation and serialization failures produced by framing and message codecs.
Constants§
- HEADER_
SIZE - Number of bytes in an SCCP frame header, including the message identifier.
- MAX_
FRAME_ SIZE - Largest complete frame accepted or emitted by the framing layer.