Versions in this module Expand all Collapse all v4 v4.2.2 May 25, 2026 Changes in this version + var ErrNotEnoughMemory = errors.New("not enough memory") + func MemoryGrowCheck(growSize uint64) error + type GrowCheck func(growSize uint64) error + type LinearMemory interface + Free func() error + Reallocate func(size uint64) (all []byte, err error) + func NewGuardedMemory(cap, max uint64) (m LinearMemory, err error) + func NewMemory(cap, max uint64) (LinearMemory, error)