Expand description
This module contains various utilities for debugging and processing structs
Structs§
- Benchmark
- Benchmark struct, used for recording execution time
desc: descriptor for benchmarkinst: when benchmark timer was started
Functions§
- b64_
decode - Quick function for decoding base64 bytes
- b64_
encode - Quick function for encoding base64 bytes
- clamp_
to_ values - Quick function for clamping
valto the nearest value inclamps - dbg_
write - Debug function that writes
valto.debugfile - get_
local_ levels_ path - Returns path of CCLocalLevels.dat if it exists, otherwise return Err
- proper_
plist_ tags - Replaces Robtop’s plist format with actual plist tags; i.e.
<s>becomes<string> - properties_
from_ json - Converts properties in
serde_json::Valuedict to aHashMap<String, Value> - vec_
as_ str - Converts
Vec<u8>utf8 to String