Skip to content

sullvn/moreio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moreio

Some additional IO utilities for Go.

  • RollingReader: Concatenate an arbitrary number of io.Readers into a single Reader. Like io.MultiReader, but supports addition of Readers during consumption. Thus, a RollingReader requires manual closure.
  • SharedBuffer: Buffer which supports multiple concurrent readers. Flushes the portion of the buffer which has been read by all.
  • Meters: Wrappers for io.Readers and io.Writers which count total amount of bytes read and written, respectively.
  • Stream: Encoder and Decoder for a stream of undefined length. It uses a chunked transfer encoding, where each chunk's length is specified in front of the chunk.

About

Additional IO utilities for Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages