Parser and serializer for IRC messages.
Supports the modern IRC message shape, including IRCv3 message tags:
@time=2026-05-13T00:00:00Z :nick!user@host PRIVMSG #elixir :hello
Summary
Functions
Escapes an IRCv3 message-tag value.
Returns the maximum size of outgoing client tag data.
Returns the maximum IRC message size, including CRLF.
Returns the maximum IRC message size, excluding CRLF.
Returns the maximum number of IRC message parameters.
Returns the maximum size of a received tag section.
Returns the maximum received wire size with message tags.
Parses one IRC wire line.
Serializes a message and adds the final CRLF sequence.
Unescapes an IRCv3 message-tag value.
Returns true if client tag data meets the IRCv3 size limit.
Returns true if a command is alphabetic or a three-digit numeric.
Returns true if a received tag section meets the IRCv3 size limit.
Returns true if an outgoing line meets IRC wire-size limits.
Types
Functions
Escapes an IRCv3 message-tag value.
Returns the maximum size of outgoing client tag data.
Returns the maximum IRC message size, including CRLF.
Returns the maximum IRC message size, excluding CRLF.
Returns the maximum number of IRC message parameters.
Returns the maximum size of a received tag section.
Returns the maximum received wire size with message tags.
Parses one IRC wire line.
Serializes a message and adds the final CRLF sequence.
Unescapes an IRCv3 message-tag value.
Returns true if client tag data meets the IRCv3 size limit.
Returns true if a command is alphabetic or a three-digit numeric.
Returns true if a received tag section meets the IRCv3 size limit.
Returns true if an outgoing line meets IRC wire-size limits.