package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev

# Functions

Get returns a buffer from the pool.
Get returns a byte reader from the pool.
GetTwin returns a buffer containing two buffers, `First` and `Second`, from the pool.
New instantiates a new bytes.Buffer pool with a custom pre-allocated buffer size.
NewTwin instantiates a new TwinBuffer pool with a custom pre-allocated buffer size.
Put returns a buffer to the pool.
Put returns a byte reader to the pool.
PutTwin returns a twin buffer to the pool.
PutTwinCallBack same as PutTwin but executes fn after buf has been returned into the pool.

# Structs

TwinBuffer contains two buffers.