https://github.com/bwesterb/byteswriter
The bytes.Writer that is missing from the Go standard library
https://github.com/bwesterb/byteswriter
bytes golang writer
Last synced: 5 months ago
JSON representation
The bytes.Writer that is missing from the Go standard library
- Host: GitHub
- URL: https://github.com/bwesterb/byteswriter
- Owner: bwesterb
- License: mit
- Created: 2018-02-14T23:04:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T17:45:57.000Z (over 7 years ago)
- Last Synced: 2025-07-27T05:27:29.256Z (11 months ago)
- Topics: bytes, golang, writer
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
byteswriter
===========
This Go package implements a `io.Writer` that wraps a `[]byte`.
It's like `bytes.Reader`, but then a Writer.
```golang
b := make([]byte, 20)
w := byteswriter.NewWriter(b)
// use io.Writer w
```
See [godoc documentation](https://godoc.org/github.com/bwesterb/byteswriter)