Releases: MiguelEXE/structured-buffer
Releases · MiguelEXE/structured-buffer
Structured Buffer v2.2.1
v2.2.0
Structured Buffer v2.2.0
Added
- Add
pdp_uint32andpdp_int32 - Add both uints and ints examples into README.md
- Add range asserts to all types
- Add .vscode to .npmignore
Fixed
Full Changelog: v2.1.1...v2.2.0
v2.1.1
v2.1.0
Structured buffer v2.1.0
Added
sizeof()function to calculate in bytes a struct size or type size. Commits: Added byteLength metadata to CountedType, Add sizeof function, Add support for types to get their sizes calculated- Standard C99 bool
- More/updating examples to
sizeof()and bool. Commits: Add more examples, Add even more examples - Add reference to write(), parse() and sizeof() functions on README.md
Fixed
- Remove unnecessary templates for Struct and StructObject
- Fix wrong comment: If defined -> If false
- Rename improperly 'type' and 'value' variables to 'structOrType'.
Full Changelog: v2.0.0...v2.1.0
v2.0.0: TS Version
Rework on project to use typescript instead of plain javascript.
On this version, you should replace every type[size] to type(size)
Full Changelog: v1.0.0...v2.0.0