Skip to content

The bytes.Writer that is missing from the Go standard library

License

Notifications You must be signed in to change notification settings

bwesterb/byteswriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

byteswriter

This Go package implements a io.Writer that wraps a []byte. It's like bytes.Reader, but then a Writer.

b := make([]byte, 20)
w := byteswriter.NewWriter(b)
// use io.Writer w

See godoc documentation

About

The bytes.Writer that is missing from the Go standard library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages