Versions in this module Expand all Collapse all v0 v0.3.0 Apr 21, 2020 Changes in this version + var ErrTooLarge = errors.New("bufalloc.Buffer: too large.") + func FreeBuffer(buf Buffer) + type Buffer interface + Alloc func(n int) []byte + Bytes func() []byte + Cap func() int + Grow func(n int) + Len func() int + Next func(n int) []byte + Read func(p []byte) (n int, err error) + ReadByte func() (c byte, err error) + ReadBytes func(delim byte) (line []byte, err error) + ReadFrom func(r io.Reader) (n int64, err error) + Reset func() + String func() string + Truncate func(n int) + Write func(p []byte) (n int, err error) + WriteByte func(c byte) error + WriteString func(s string) (n int, err error) + WriteTo func(w io.Writer) (n int64, err error) + func AllocBuffer(n int) Buffer Incompatible versions in this module v3.2.0+incompatible Sep 7, 2020 v3.1.0+incompatible May 29, 2020