| Index: runtime/lib/typeddata.dart
|
| ===================================================================
|
| --- runtime/lib/typeddata.dart (revision 20452)
|
| +++ runtime/lib/typeddata.dart (working copy)
|
| @@ -1982,7 +1982,7 @@
|
| String message = "$index must be in the range [0..$length)";
|
| throw new RangeError(message);
|
| }
|
| - _typeddata. setInt8(offsetInBytes + (index * Int8List.BYTES_PER_ELEMENT),
|
| + _typeddata._setInt8(offsetInBytes + (index * Int8List.BYTES_PER_ELEMENT),
|
| _toInt8(value));
|
| }
|
|
|
| @@ -2464,8 +2464,8 @@
|
| _ByteDataView(ByteBuffer _buffer, int _offsetInBytes, int _lengthInBytes)
|
| : _typeddata = _buffer as TypedData,
|
| _offset = _offsetInBytes,
|
| - _length = _lengthInBytes {
|
| - _rangeCheck(_buffer.lengthInBytes, _offset, _length);
|
| + length = _lengthInBytes {
|
| + _rangeCheck(_buffer.lengthInBytes, _offset, length);
|
| }
|
|
|
|
|
| @@ -2476,10 +2476,10 @@
|
| }
|
|
|
| int get lengthInBytes {
|
| - return _length;
|
| + return length;
|
| }
|
|
|
| - int offsetInBytes() {
|
| + int get offsetInBytes {
|
| return _offset;
|
| }
|
|
|
| @@ -2557,7 +2557,7 @@
|
|
|
| final TypedData _typeddata;
|
| final int _offset;
|
| - final int _length;
|
| + final int length;
|
| }
|
|
|
|
|
|
|