master
Charles Iliya Krempeaux 2019-09-05 18:35:24 -07:00
parent 711b415c61
commit 06edca9192
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package buffers package buffers
// Writer provides an io.Writer interface to a byte array, and byte slice.
//
// This is something that should probably exist in the Go built-in "bytes" library, but doesn't.
type Writer struct { type Writer struct {
dst []byte dst []byte
index int index int