[][src]Module celeste::binel::parser

parser parses BinaryElement files.

Functions

take_elemattr

Parse a BinElAttr from a &[u8].

take_element

Parse a BinEl from a &[u8]. Tested solely in integration tests due to complexity.

take_file

Parse a BinFile from a &[u8]. Tested solely in integration tests due to complexity.

take_lookup

Lookup a u16 from a &[u8] in a string lookup table.

take_rle_char

Take a single character from a Celeste RLE-encoded string in a &[u8].

take_rle_string

Take a Celeste RLE-encoded string from a &[u8]

take_string

Take a string with the length being a varint.