An open API service indexing awesome lists of open source software.

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

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)