package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

CreateFromReader creates a file backed buffer and copies the provided reader data into it.
New creates a file backed buffer with a specific maximum memory size.

# Variables

ErrInvalidMemorySize occurs if the memory size is not in a valid range.
ErrWriteAfterRead occurs if Write is called after a read operation.

# Structs

FileBackedBuffer uses a memory buffer with a fixed size.