Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rapougnac/kiwi_schema
A parser, encoder & decoder for Kiwi, a schema-based binary format for efficiently encoding trees of data.
https://github.com/rapougnac/kiwi_schema
Last synced: 9 days ago
JSON representation
A parser, encoder & decoder for Kiwi, a schema-based binary format for efficiently encoding trees of data.
- Host: GitHub
- URL: https://github.com/rapougnac/kiwi_schema
- Owner: Rapougnac
- License: unlicense
- Created: 2023-08-23T19:11:33.000Z (about 1 year ago)
- Default Branch: mistress
- Last Pushed: 2023-08-23T19:17:09.000Z (about 1 year ago)
- Last Synced: 2023-08-23T20:47:05.259Z (about 1 year ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# kiwi_schema
A parser, encoder & decoder for [Kiwi](https://github.com/evanw/kiwi), a schema-based binary format for efficiently encoding trees of data.
# Example
See the [example](./example/) directory.# Informations
### Why [u]int64 are typed as `int`s in Dart?
__**Because `int`s are based 🗿.**__Seriously, Dart's `int`s are 64-bits by default, the only problem comes if you compile your dart code to JS. As it cannot handles ints larger than 32 bits.
_But no ones really compile dart code to js, right, right??_
If you absolutely want to add/use js, use the js/ts wrapper natively provided by [Kiwi](https://github.com/evanw/kiwi/blob/master/examples/js.md)
### Why?
I was bored and didn't know what to do, soo, yeah, nobody will use it but idc, that was fun.(Also that's my first useful package, heh)
# Credits
- Evan Wallace, the original creator of Kiwi.