Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2021 Changes in this version + var ErrMaxOpenBands = errors.New("maxOpenBands have to be at least 10") + var ErrNotOpen = errors.New("bundle not opened") + var ErrOffset = errors.New("Seek: invalid offset") + var ErrWhence = errors.New("Seek: invalid whence") + type Bundle struct + func Open(path string, maxOpenBands int) (*Bundle, error) + func (b *Bundle) Close() error + func (b *Bundle) Err() error + func (b *Bundle) Flush() error + func (b *Bundle) Read(p []byte) (n int, err error) + func (b *Bundle) ReadAt(p []byte, off int64) (n int, err error) + func (b *Bundle) Seek(offset int64, whence int) (int64, error) + func (b *Bundle) Size() int64 + func (b *Bundle) Trim(size int) (n int, err error) + func (b *Bundle) Write(p []byte) (n int, err error) + func (b *Bundle) WriteAt(p []byte, off int64) (n int, err error)