Versions in this module Expand all Collapse all v4 v4.2.2 May 25, 2026 Changes in this version + type BackingStore interface + GrowTo func(size int64) error + func NewFileStore(blockSize int64) (BackingStore, error) + type BufferStore struct + func (m *BufferStore) Append(buf []byte) + func (m *BufferStore) Close() error + func (m *BufferStore) GrowTo(size int64) (err error) + func (m *BufferStore) ReadAt(p []byte, off int64) (int, error) + func (m *BufferStore) Size() int64 + func (m *BufferStore) WriteAt(p []byte, off int64) (int, error) + type HybridCache struct + func NewHybridCache(blockSize, maxMemorySize uint64) (hc *HybridCache, err error) + func (hc *HybridCache) AllocBlock(size uint64) (buffer.Block, error) + func (hc *HybridCache) Close() error + func (hc *HybridCache) CopyFromN(src io.Reader, n int64) (written int64, err error) + func (hc *HybridCache) NextBlock() (buffer.Block, error) + func (hc *HybridCache) ReadAt(p []byte, off int64) (n int, err error) + func (hc *HybridCache) RewindBySize(size uint64) + func (hc *HybridCache) RewindOneBlock() + func (hc *HybridCache) Size() int64 + func (hc *HybridCache) WriteAt(p []byte, off int64) (n int, err error) + type MultiFileStore struct + func (m *MultiFileStore) Close() error + func (m *MultiFileStore) GrowTo(size int64) error + func (m *MultiFileStore) ReadAt(p []byte, off int64) (n int, err error) + func (m *MultiFileStore) WriteAt(p []byte, off int64) (n int, err error) + func (s *MultiFileStore) Size() int64