List&gt; r = [];
  for (Uint8List channelData in buf) {
    int ln = ((channelData.length) &#47; 4).floor();
    final bd = ByteData.sublistView(channelData);
    Float32List f32List = Float32List(ln);
    &#47;&#47;int ix = 0;
    for (int offset = 0, ix = 0; offset &lt; ln; offset += 4, ++ix) {
      f32List[ix] = bd.getFloat32(offset, endian);
    }
    r.add(f32List);
  }
  return r;
}</code></pre>
</section>


  </div> <!-- /.main-content -->
  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offc