reuse allocated buffer (#271)
authortyltr <31768692+tylitianrui@users.noreply.github.com>
Tue, 6 Jul 2021 00:43:17 +0000 (08:43 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Jul 2021 00:43:17 +0000 (08:43 +0800)
commitdad28924458a39d4b56e803f14e130b0156cae39
tree753c4177d7e9a370a0c2341c7727c1dfb96b2c51
parente7144303cf1a338c905e31a574e57bf3effee6a5
reuse allocated buffer (#271)

* reuse buffer  avoid allocate

* reuse buffer clean

* typo

* reuse buf size 512
encode.go