Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

Awesome Lists containing this project

README

        

[![Poggit CI][poggit-ci-badge]][poggit-ci-url]
[![Stars][stars-badge]][stars-url]
[![License][license-badge]][license-url]




Logo

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