Index: sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
diff --git a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
index 6bcb22e87e5f1a9ceaa674310157c2ff8461d16d..2495507a17d5740e412c3af3a6fca4c79e10618e 100644 |
--- a/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
+++ b/sdk/lib/typed_data/dart2js/typed_data_dart2js.dart |
@@ -268,6 +268,8 @@ class ByteData extends TypedData native "DataView" { |
* form. |
* The return value will be between 0 and 2<sup>32</sup> - 1, inclusive. |
* |
+ * Throws [RangeError] if [byteOffset] is negative, or |
+ * `byteOffset + 4` is greater than the length of this object. |
*/ |
int getUint32(int byteOffset, [Endianness endian=Endianness.BIG_ENDIAN]) => |
_getUint32(byteOffset, endian._littleEndian); |