Skip to main content

parse

Function parse 

Source
pub fn parse(
    opcode: u16,
    body: &[u8],
    include_raw: bool,
) -> Result<Option<ChatEvent>, Error>
Expand description

Decode every Titanium communication packet, without filtering channel IDs. String-table messages retain their ID/arguments even without local eqstr.

ยงErrors

Returns an error when a recognized communication packet is malformed.