irc v0.1.0 Irc.Message.Prefix View Source
This module provides functions for encoding and decoding raw IRC prefixes.
Link to this section Summary
Link to this section Types
The prefix section of an IRC message
Link to this section Functions
Link to this function
decode(str)
View Source
decode(String.t) :: {:ok, Irc.Message.Prefix.t} | {:error, String.t}
Decodes a raw IRC message prefix
Encodes a prefix as an iolist