| Index: pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart b/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart
|
| index 9d888317cdd25656e5314d9a04080c5c9ec993ce..2a581548e6a86855a108a467bc0a9728e097c0b4 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart
|
| @@ -457,7 +457,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getFloat32')
|
| @Returns('double')
|
| - double _getFloat32(int byteOffset, [bool littleEndian]) native ;
|
| + double _getFloat32(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the floating point number represented by the eight bytes at
|
| @@ -473,7 +473,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getFloat64')
|
| @Returns('double')
|
| - double _getFloat64(int byteOffset, [bool littleEndian]) native ;
|
| + double _getFloat64(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the (possibly negative) integer represented by the two bytes at
|
| @@ -490,7 +490,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getInt16')
|
| @Returns('int')
|
| - int _getInt16(int byteOffset, [bool littleEndian]) native ;
|
| + int _getInt16(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the (possibly negative) integer represented by the four bytes at
|
| @@ -507,7 +507,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getInt32')
|
| @Returns('int')
|
| - int _getInt32(int byteOffset, [bool littleEndian]) native ;
|
| + int _getInt32(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the (possibly negative) integer represented by the eight bytes at
|
| @@ -531,7 +531,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| * Throws [RangeError] if [byteOffset] is negative, or
|
| * greater than or equal to the length of this object.
|
| */
|
| - int getInt8(int byteOffset) native ;
|
| + int getInt8(int byteOffset) native;
|
|
|
| /**
|
| * Returns the positive integer represented by the two bytes starting
|
| @@ -547,7 +547,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getUint16')
|
| @Returns('int')
|
| - int _getUint16(int byteOffset, [bool littleEndian]) native ;
|
| + int _getUint16(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the positive integer represented by the four bytes starting
|
| @@ -563,7 +563,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
|
|
| @JSName('getUint32')
|
| @Returns('int')
|
| - int _getUint32(int byteOffset, [bool littleEndian]) native ;
|
| + int _getUint32(int byteOffset, [bool littleEndian]) native;
|
|
|
| /**
|
| * Returns the positive integer represented by the eight bytes starting
|
| @@ -586,7 +586,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| * Throws [RangeError] if [byteOffset] is negative, or
|
| * greater than or equal to the length of this object.
|
| */
|
| - int getUint8(int byteOffset) native ;
|
| + int getUint8(int byteOffset) native;
|
|
|
| /**
|
| * Sets the four bytes starting at the specified [byteOffset] in this
|
| @@ -610,7 +610,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setFloat32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setFloat32')
|
| - void _setFloat32(int byteOffset, num value, [bool littleEndian]) native ;
|
| + void _setFloat32(int byteOffset, num value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the eight bytes starting at the specified [byteOffset] in this
|
| @@ -625,7 +625,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setFloat64(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setFloat64')
|
| - void _setFloat64(int byteOffset, num value, [bool littleEndian]) native ;
|
| + void _setFloat64(int byteOffset, num value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the two bytes starting at the specified [byteOffset] in this
|
| @@ -641,7 +641,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setInt16(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setInt16')
|
| - void _setInt16(int byteOffset, int value, [bool littleEndian]) native ;
|
| + void _setInt16(int byteOffset, int value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the four bytes starting at the specified [byteOffset] in this
|
| @@ -657,7 +657,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setInt32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setInt32')
|
| - void _setInt32(int byteOffset, int value, [bool littleEndian]) native ;
|
| + void _setInt32(int byteOffset, int value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the eight bytes starting at the specified [byteOffset] in this
|
| @@ -682,7 +682,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| * Throws [RangeError] if [byteOffset] is negative, or
|
| * greater than or equal to the length of this object.
|
| */
|
| - void setInt8(int byteOffset, int value) native ;
|
| + void setInt8(int byteOffset, int value) native;
|
|
|
| /**
|
| * Sets the two bytes starting at the specified [byteOffset] in this object
|
| @@ -698,7 +698,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setUint16(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setUint16')
|
| - void _setUint16(int byteOffset, int value, [bool littleEndian]) native ;
|
| + void _setUint16(int byteOffset, int value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the four bytes starting at the specified [byteOffset] in this object
|
| @@ -714,7 +714,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| _setUint32(byteOffset, value, Endianness.LITTLE_ENDIAN == endian);
|
|
|
| @JSName('setUint32')
|
| - void _setUint32(int byteOffset, int value, [bool littleEndian]) native ;
|
| + void _setUint32(int byteOffset, int value, [bool littleEndian]) native;
|
|
|
| /**
|
| * Sets the eight bytes starting at the specified [byteOffset] in this object
|
| @@ -739,7 +739,7 @@ class NativeByteData extends NativeTypedData implements ByteData {
|
| * Throws [RangeError] if [byteOffset] is negative,
|
| * or greater than or equal to the length of this object.
|
| */
|
| - void setUint8(int byteOffset, int value) native ;
|
| + void setUint8(int byteOffset, int value) native;
|
|
|
| static NativeByteData _create1(arg) =>
|
| JS('NativeByteData', 'new DataView(new ArrayBuffer(#))', arg);
|
|
|