-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: - Renamed the `parse` function to `read`! This is more consistent with the Read and Write kind of idea, considering the Parse class is called Reader, instead of Parser. This also simplifies things for when I add JSON support too, with my mixed SNBT-JSON format that I want to create. - The JSON functions will likely be called `parse` and `stringify`, and the binary NBT functions will be `read` and `write`.
1 parent
280aabd
commit 39b5d85
Showing
2 changed files
with
8 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import parse from "./parse.js"; | ||
import read from "./read.js"; | ||
import write from "./write.js"; | ||
|
||
export { parse, write }; | ||
export { read, write }; | ||
|
||
export default { parse, write, [Symbol.toStringTag]: "NBT" }; | ||
export default { read, write, [Symbol.toStringTag]: "NBT" }; |
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