Iterate through all possible bytes
<p>So I'm trying to test a function against every possible <strong>byte</strong>, that is <code>0</code> to <code>255</code> possibilities. How do I iterate over all possible bytes? i've </p>

<p>I've tried </p>

<pre><code> for i := 0; i &lt; 256; i++ {
      fmt.Println(byte(i)) // prints a number 0-255
      fmt.Println(byte{i}) // crashes
 }
</code></pre>