Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

bytepool

Alloc temporary variable sized byte buffers from sync.Pools.

Example:

bs := bytepool.Alloc(134)
defer bytepool.Free(bs)
n,e := myfile.Read(bs)
bs = bs[0:n]

License: MIT

GoDoc

Test code coverage 100%

About

Variable sized pools of bytes using sync.Pools underneath.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages