Module rscache::parse [−][src]
Expand description
Faster parsers using nom.
Functions
be_u16_smart but as i16.
Reads 1 byte if the first byte < 128, reads 2 bytes otherwise.
Reads 2 bytes if the first byte <= -1 after calculations, reads 4 bytes otherwise.
Reads a 0-terminated string from the given buffer. Uses String::from_utf8_lossy()
for the conversion.