Repository navigation
user-stable
Pre-release
Pre-release
- Fixed-size primitive types (
int8,int16,int32,int64,uint*,float32,float64,bool) - Variable-size types (
string,[]byte, slices of primitives/strings/byte slices) - Struct pointers
- Presence bitmaps for optional fields
- Unsafe zero-copy string decoding (optional)
Features
- Struct encoding/decoding: Works with exported fields of Go structs.
- Slices and strings: Handles variable-length data with varint length prefixes.
- Presence bitmap: Marks which fields are present.
- Unsafe string mode: Zero-copy decoding of strings (caller must ensure buffer lifetime).
- Fuzz & property-based tests: Ensures round-trip correctness.
What's Changed
- readme updated by @rawbytedev in #1
- Added docs and examples by @rawbytedev in #2
- Composable flexibility by @rawbytedev in #3
- Major changes by @rawbytedev in #4
- reduce allocs to 4 allocs for encode +decode by @rawbytedev in #5
New Contributors
- @rawbytedev made their first contribution in #1
Full Changelog: https://github.com/rawbytedev/Fractus/commits/v0.0.1