title: string value of byte array - and back again to byte array
body: <p>I am trying to benchmark some Decoding code. I have printed the encoding byte array, so I can hardcode it in the test file, to separate out the Encode part.</p>
  <p>Therefore I have fmt.Println() a byte array</p>
  <pre><code>buf := bytes.Buffer{}
  enc := gob.NewEncoder(&amp;buf)
  err := enc.Encode(&lt;my struct&gt;)
  if err != nil {
      log.Fatal(err)
  }
  byteQuads := buf.Bytes()
  buf.Reset()
  fmt.Println(byteQuads) // &lt;&lt; [77 255 129 3 1 1 7 82...]
  // or
  fmt.Println(string(byteQuads[:])) // &lt;&lt; M��...
  </code></pre>
  <p>Question: How can read this hardcode into a byte array([]byte) again</p>
  <pre><code>b := []byte(???) // [77 255 129 3 1 1 7 82...] or M��
  gob.NewDecoder(bytes.NewReader(b))
  </code></pre>