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

https://github.com/miguelexe/structured-buffer

Structured-based buffers
https://github.com/miguelexe/structured-buffer

buffer nodejs struct structure

Last synced: 3 months ago
JSON representation

Structured-based buffers

Awesome Lists containing this project

README

        

# Structured buffer

C-like structs in javascript

## Supports:
- Creating and parsing buffers with a given struct
- Calculating size of a struct
- Unsigned and signed integer from 8 to 64 bits
- Chars (converts int8 to string)
- Standard C99 booleans
- [Structs inside another structs](https://github.com/MiguelEXE/structured-buffer/tree/master/examples/struct-in-struct.ts)

See [examples](https://github.com/MiguelEXE/structured-buffer/tree/master/examples) folder for example usage