title: How to create a byte slice constant with specific value?
body: <p>How do I create a byte slice constant in rust, something as follows?</p>
  <pre class="lang-rust prettyprint-override"><code>// This does not compile, but just to show my intention.
  pub const MyConst: &amp;'static [u8; 256] = b&quot;abcdef&quot; + [0u8; 250];
  
  // Basically, the value is b&quot;abcdef00000...&quot;, the `000...` appended at the end 
  // are a series of byte 0, not character 0.
  </code></pre>