-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support writing unnamed bnbt tags * Support reading unnamed tags * Remove redundant `.none(true)` on `name` parameters * Add tests for unnamed tag * Put the `named` parameter before `read_offset` * Add docs and typehint for unnamed tags * Remove redundant `std::optional` casts * Make read functions return `NamedTag` with empty name when reading unnamed tags. * oops, remove unused `#include <optional>` * Fix typehint * Reformatted --------- Co-authored-by: gentlegiantJGC <gentlegiantJGC@users.noreply.github.com>
- Loading branch information
1 parent
7f40e69
commit 0d921f5
Showing
8 changed files
with
155 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.