MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Return

Method Return

IceFireDB-SQLProxy/pkg/mysql/packet/conn.go:43–46  ·  view source on GitHub ↗
(buf *bytes.Buffer)

Source from the content-addressed store, hash-verified

41}
42
43func (b *BufPool) Return(buf *bytes.Buffer) {
44 buf.Reset()
45 b.pool.Put(buf)
46}
47
48/*
49Conn is the base class to handle MySQL protocol.

Callers

nothing calls this directly

Calls 2

ResetMethod · 0.45
PutMethod · 0.45

Tested by

no test coverage detected