https://github.com/lithdew/bytesutil
Utilities for reducing memory allocations in Go w/ 100% unit test coverage.
https://github.com/lithdew/bytesutil
golang
Last synced: about 1 year ago
JSON representation
Utilities for reducing memory allocations in Go w/ 100% unit test coverage.
- Host: GitHub
- URL: https://github.com/lithdew/bytesutil
- Owner: lithdew
- License: mit
- Created: 2020-04-04T05:33:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T05:25:13.000Z (about 6 years ago)
- Last Synced: 2025-04-23T22:04:01.291Z (about 1 year ago)
- Topics: golang
- Language: Go
- Size: 8.79 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bytesutil
[](LICENSE)
[](https://pkg.go.dev/github.com/lithdew/bytesutil)
[](https://discord.gg/HZEbkeQ)
Utilities for reducing memory allocations in Go w/ 100% unit test coverage.
- Zero-allocation conversion between string and byte slice.
- Zero-allocation signed/unsigned variable integer encoding/decoding.
- Zero-allocation signed/unsigned 64-bit/32-bit/16-bit integer encoding/decoding.
- Extend slice to a sufficient length.