more idiomatic use of bytes.Buffer