filebuffer is a package implementing a few file-like interfaces such as io.Reader
, io.ReaderAt
, io.Seeker
and more.
The implementation is backed by a byte buffer and the main purpose is to have in-memory alternative to using an io.File.
More information can be found on the GoDoc page.