Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presentkim-pm/nbt-serializer
Provides util class for (de)serialize nbt tag more shorter and easier!
https://github.com/presentkim-pm/nbt-serializer
Last synced: about 2 months ago
JSON representation
Provides util class for (de)serialize nbt tag more shorter and easier!
- Host: GitHub
- URL: https://github.com/presentkim-pm/nbt-serializer
- Owner: presentkim-pm
- License: mit
- Created: 2024-03-11T02:59:37.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-27T15:04:29.000Z (2 months ago)
- Last Synced: 2024-10-27T17:15:46.411Z (2 months ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Poggit CI][poggit-ci-badge]][poggit-ci-url]
[![Stars][stars-badge]][stars-url]
[![License][license-badge]][license-url]
nbt-serializer
Provides utils for (de)serialize nbt more shorter and easier![View in Poggit][poggit-ci-url] · [Report a bug][issues-url] · [Request a feature][issues-url]
## About The Project
:heavy_check_mark: Provides util functions for serialize nbt tag
- `kim\present\serializer\nbt\NbtSerializer::toBinary(Tag $tag) : string`
- `kim\present\serializer\nbt\NbtSerializer::toBase64(Tag $tag) : string`
- `kim\present\serializer\nbt\NbtSerializer::toHex(Tag $tag) : string`
- `kim\present\serializer\nbt\NbtSerializer::toSnbt(Tag $tag) : string`:heavy_check_mark: Provides util function for deserialize nbt tag
- `kim\present\serializer\nbt\NbtSerializer::fromBinary(string $contents) : Tag`
- `kim\present\serializer\nbt\NbtSerializer::fromBase64(string $contents) : Tag`
- `kim\present\serializer\nbt\NbtSerializer::fromHex(string $contents) : Tag`
- `kim\present\serializer\nbt\NbtSerializer::fromSnbt(string $contents) : Tag`-----
## Installation
See [Official Poggit Virion Documentation](https://github.com/poggit/support/blob/master/virion.md)
-----
## How to use?
See [Main Document](https://github.com/presentkim-pm/nbt-serializer/blob/main/docs/README.md)
-----
## License
Distributed under the **MIT**. See [LICENSE][license-url] for more information
[poggit-ci-badge]: https://poggit.pmmp.io/ci.shield/presentkim-pm/nbt-serializer/nbt-serializer?style=for-the-badge
[stars-badge]: https://img.shields.io/github/stars/presentkim-pm/nbt-serializer.svg?style=for-the-badge
[license-badge]: https://img.shields.io/github/license/presentkim-pm/nbt-serializer.svg?style=for-the-badge
[poggit-ci-url]: https://poggit.pmmp.io/ci/presentkim-pm/nbt-serializer/nbt-serializer
[stars-url]: https://github.com/presentkim-pm/nbt-serializer/stargazers
[issues-url]: https://github.com/presentkim-pm/nbt-serializer/issues
[license-url]: https://github.com/presentkim-pm/nbt-serializer/blob/main/LICENSE
[project-icon]: https://raw.githubusercontent.com/presentkim-pm/nbt-serializer/main/assets/icon.png