Index: lib/scalarlist/byte_arrays.dart |
diff --git a/lib/scalarlist/byte_arrays.dart b/lib/scalarlist/byte_arrays.dart |
index 8789ec462264de5d7db6d24f37979b8b2cba421c..a4d5515a187bac1bda2a2b0d5df2bf3945eb5eb1 100644 |
--- a/lib/scalarlist/byte_arrays.dart |
+++ b/lib/scalarlist/byte_arrays.dart |
@@ -15,9 +15,9 @@ |
* For example this code fragment determine what 64-bit signed integer |
* is represented by the bytes of a 64-bit floating point number: |
* |
- * var ba = new ByteArray(8); |
- * ba.setFloat64(0, 3.14159265358979323846); |
- * int huh = ba.getInt64(0); |
+ * var ba = new Uint8List(8).asByteArray(); |
+ * ba.setFloat64(0, 3.14159265358979323846); |
+ * int huh = ba.getInt64(0); |
*/ |
abstract class ByteArray { |
/** |