Index: samples-dev/swarm/Decoder.dart |
diff --git a/samples-dev/swarm/Decoder.dart b/samples-dev/swarm/Decoder.dart |
index 39b74376a7ab79704ac6d06941198027f448e991..034b3312600e554cf33863f143e5410cba9262c4 100644 |
--- a/samples-dev/swarm/Decoder.dart |
+++ b/samples-dev/swarm/Decoder.dart |
@@ -19,7 +19,7 @@ class Decoder { |
// For more info, see appengine/encoder.py. |
int readInt() { |
var r = 0; |
- for (var i=0; ; i++) { |
+ for (var i = 0;; i++) { |
var v = data.codeUnitAt(index++); |
r |= (v & 0x3F) << (6 * i); |
if ((v & 0x40) == 0) break; |
@@ -29,15 +29,14 @@ class Decoder { |
bool readBool() { |
final ch = data[index++]; |
- assert (ch == 'T' || ch == 'F'); |
+ assert(ch == 'T' || ch == 'F'); |
return ch == 'T'; |
} |
String readString() { |
int len = readInt(); |
- String s = data.substring(index, index+len); |
+ String s = data.substring(index, index + len); |
index += len; |
return s; |
} |
} |
- |