https://github.com/surrealdb/bump
An efficient buffering library for Go
https://github.com/surrealdb/bump
buffering go golang golang-library
Last synced: 10 months ago
JSON representation
An efficient buffering library for Go
- Host: GitHub
- URL: https://github.com/surrealdb/bump
- Owner: surrealdb
- License: apache-2.0
- Created: 2021-12-08T09:33:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T11:16:49.000Z (over 4 years ago)
- Last Synced: 2025-06-30T07:19:05.363Z (12 months ago)
- Topics: buffering, go, golang, golang-library
- Language: Go
- Homepage:
- Size: 8.64 MB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bump
An efficient buffering library for Go (Golang).
[](https://github.com/surrealdb/bump) [](https://godoc.org/github.com/surrealdb/bump) [](https://goreportcard.com/report/github.com/surrealdb/bump) [](https://github.com/surrealdb/bump)
#### Features
- Simple and efficient buffering
- Reuse readers and writers repeatedly
- Write to io.Writer, or directly to a byte slice
- Read from io.Reader, or directly from a byte slice
- Reading directly from byte slice requires no allocations
#### Installation
```bash
go get github.com/surrealdb/bump
```