Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + var DefaultReaderPool = NewReaderPool(256, 65536) + var DefaultWriterPool = NewWriterPool(256, 65536) + func GetReader(w io.Reader, size int) *bufio.Reader + func GetWriter(w io.Writer, size int) *bufio.Writer + func PutReader(bw *bufio.Reader) + func PutWriter(bw *bufio.Writer) + type ReaderPool struct + func CustomReaderPool(opts ...pool.Option) *ReaderPool + func NewReaderPool(min, max int) *ReaderPool + func (rp *ReaderPool) Get(r io.Reader, size int) *bufio.Reader + func (rp *ReaderPool) Put(br *bufio.Reader) + type WriterPool struct + func CustomWriterPool(opts ...pool.Option) *WriterPool + func NewWriterPool(min, max int) *WriterPool + func (wp *WriterPool) Get(w io.Writer, size int) *bufio.Writer + func (wp *WriterPool) Put(bw *bufio.Writer)