Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBuffer ¶
GetBuffer gets a buffer from pool, size should in range: [1, 65536], otherwise, this function will call make([]byte, size) directly.
func GetWriteBuffer ¶
GetWriteBuffer returns a bytes.buffer from pool.
func PutWriteBuffer ¶
PutWriteBuffer puts a bytes.buffer into pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.