Module minetest_protocol::wire::util  
source · Expand description
The crazy exotic serialization methods Minetest uses
Functions
- Returns the next word (non-whitespace chunk) in u8 slice, and the remainder (which may still have whitespace)
- serializeJsonStringIfNeeded
- This is needed to handle the crazy inventory parsing.
- Parse byte slice into an integer. The opposite of itos. On error (such as Utf8Error or ParseIntError) this doesreturn Err()implicitly.
- Streaming Zstd compress
- Streaming Zstd decompress