Replace a bytes.Buffer with a simpler []byte.
Replace a bytes.Buffer with a simpler []byte.

The original code possibly dates from a very early (pre 1.0) version of
Go, before the built-in append function existed.

golang/leveldb,golang/leveldb