st of
unsigned 8-bit integers).</p>
<p>If <code>start</code> and <code>end</code> are provided, only the substring
<code>string.substring(start, end)</code> is converted.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">Uint8List convert(String string, [int start = 0, int end]) {
  var stringLength = string.length;
  end = RangeError.checkValidRange(start, end, stringLength);
