Versions in this module Expand all Collapse all v1 v1.24.5 Aug 14, 2025 Changes in this version + var ErrWriteAfterRead = errors.New("write is unsupported after a read operation") + type FileBackedBuffer struct + func New(maxMemorySize int, tempDir string) *FileBackedBuffer + func (b *FileBackedBuffer) Close() error + func (b *FileBackedBuffer) Read(p []byte) (int, error) + func (b *FileBackedBuffer) ReadAt(p []byte, off int64) (int, error) + func (b *FileBackedBuffer) Seek(offset int64, whence int) (int64, error) + func (b *FileBackedBuffer) Size() int64 + func (b *FileBackedBuffer) Write(p []byte) (int, error)