Description

Send a buffer to the Pool to reuse for other instances.

On servers where you have a lot of concurrent encoding going on, you can hand back the byte buffer you get marshalling once you are done using it.

You may no longer utilize the content of the buffer, since it may be used by other goroutines.

Pool is referenced in 4 repositories

github.com/pquerna/ffjson github.com/solher/snakepit github.com/kothar/go-backblaze

...