aboutsummaryrefslogtreecommitdiff
path: root/azalea-nbt/src/decode.rs
AgeCommit message (Collapse)Author
2023-03-23nbt lookup optimizationmat
2023-03-23rename Tag to Nbtmat
2023-03-22binary search mapmat
2023-03-22make nbt code more readable and add comparison benchmarkmat
2023-03-22optimize nbt listsmat
2023-03-22use compact_str in nbtmat
2023-01-30have docs for all cratesUbuntu
2022-11-09ignore bad utf8Ubuntu
2022-10-15fix clippy warningsmat
2022-10-07fix errors with rewritten packet readingmat
i forgot i never tested it before LMAO
2022-10-07Replace impl Read with Cursor<&[u8]> (#26)mat
* Start getting rid of Cursor * try to make the tests pass and fail * make the tests pass * remove unused uses * fix clippy warnings * fix potential OOM exploits * fix OOM in az-nbt * fix nbt benchmark * fix a test * start replacing it with Cursor<Vec<u8>> * wip * fix all the issues * fix all tests * fix nbt benchmark * fix warnings
2022-08-24use unsigned integers for nbt lengthsmat
probably not an optimization, just makes more sense
2022-08-24optimize nbt bytearraymat
2022-08-24make some code more idiomaticmat
2022-08-19NBT decoder optimizations (#17)mat
* replace HashMap with AHashMap * faster read_string by just doing read_exact * re-enable all the benchmarks
2022-08-06Better errors (#14)mat
* make reading use thiserror * finish implementing all the error things * clippy warnings related to ok_or * fix some errors in other places * thiserror in more places * don't use closures in a couple places * errors in writing packet * rip backtraces * change some BufReadError::Custom to UnexpectedEnumVariant * Errors say what packet is bad * error on leftover data and fix it wasn't reading the properties for gameprofile
2022-06-25read_into -> read_frommat
yeah
2022-06-23switch things to use azalea-bufmat
2022-06-23azalea-bufmat
2022-05-01Change some generics to impl Traitmat
2022-05-01Reduce usage of AsyncReadmat
We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead.
2022-04-22inline reading in nbt decodingmat
2022-04-22simplify error handlingmat
2021-12-26reading nbt in the protocol worksmat
2021-12-20start adding nbt to the protocolmat
2021-12-19make write_string its own functionmat
2021-12-19make read_string its own functionmat
2021-12-19::with_capacity instead of ::new for vecs in nbtmat
2021-12-19nbt testsmat
2021-12-18nbtmat
2021-12-18reading nbtmat