Returns a buffer filled with 0s.
Uint8List zeros(int bytes) { var buffer = Uint8List(bytes); buffer.fillRange(0, bytes, 0); return buffer; }