A Buffer does not have to be initialized and supports both Reader and Writer interface.
Conversion of a Buffer into a []byte:
var buffer bytes.Buffer bytes := buffer.Bytes[]