[][src]Module twitchchat::decode

Decode messages from a &str

These messages can then be parsed into a Twitch command

Structs

DecodeIter

An iterator over decoded messages

Message

An IRC-like message

Enums

ParseError

An error occured while parsing a line.

Prefix

Prefix is the sender of a message

Functions

decode

Tries to decode potentially many messages from this input string

decode_one

Tries to decode one message, returning the amount of remaining data in the input