Store temporary buffers in a sync.Pool to reduce allocations.