Skip to content

golangplus/bytes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bytes GoSearch

Plus to the standard bytes package.

Featured

// ByteSlice is a wrapper type for []byte.
// Its pointer form, *ByteSlice, implements io.Reader, io.Writer, io.ByteReader,
// io.ByteWriter, io.Closer, io.ReaderFrom, io.WriterTo and io.RuneReader
// interfaces.
//
// Benchmark shows *ByteSlice is a better alternative for bytes.Buffer for writings and consumes less resource.
type ByteSlice []byte

(blog about ByteSlice)

LICENSE

BSD license

About

Plus to the standard "bytes" package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages