# Functions

NewHeader returns an instance of a shelley message header.
NewMessage returns a new message.
NewServiceDataUnit returns a new message.
ParseHeader returns the shelley message header from an 8-byte array.
ParseServiceDataUnits returns a list of parsed SDU.

# Constants

HeaderSize of a multiplex message.
MaxSDUSize is the maximum number of bytes for an SDU.
MessageModeInitiator indicates that this is from the initiator.
MessageModeResponder indicates that this is from the responder.
MiniProtocolIDBlockFetch available only for NtN (node to node).
MiniProtocolIDChainSyncBlocks available only for NtC (node to client).
MiniProtocolIDChainSyncHeaders available only for NtN (node to node).
MiniProtocolIDDeltaQ available for both NtN and NtC.
MiniProtocolIDKeepAlive keeps the connection alive.
MiniProtocolIDLocalStateQuery queries local state.
MiniProtocolIDLocalTXSubmission local TX submission.
MiniProtocolIDMuxControl used for handshake.
MiniProtocolIDTransactionSubmission available only for NtC (node to client).
MiniProtocolUnknown unknown protocol.

# Structs

Header wraps the ouroboros mux header.
Message represents an envelope message to/from a Shelley node.
ServiceDataUnit can group multiple messages.

# Type aliases

MessageMode set to 0 if from initiator, 1 from the responder.
MiniProtocol identifies the protocol of the message transmission.