@@ -1669,13 +1669,15 @@ interface DataView {
16691669 * Gets the Float32 value at the specified byte offset from the start of the view. There is
16701670 * no alignment constraint; multi-byte values may be fetched from any offset.
16711671 * @param byteOffset The place in the buffer at which the value should be retrieved.
1672+ * @param littleEndian If false or undefined, a big-endian value should be read.
16721673 */
16731674 getFloat32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
16741675
16751676 /**
16761677 * Gets the Float64 value at the specified byte offset from the start of the view. There is
16771678 * no alignment constraint; multi-byte values may be fetched from any offset.
16781679 * @param byteOffset The place in the buffer at which the value should be retrieved.
1680+ * @param littleEndian If false or undefined, a big-endian value should be read.
16791681 */
16801682 getFloat64 ( byteOffset : number , littleEndian ?: boolean ) : number ;
16811683
@@ -1690,12 +1692,14 @@ interface DataView {
16901692 * Gets the Int16 value at the specified byte offset from the start of the view. There is
16911693 * no alignment constraint; multi-byte values may be fetched from any offset.
16921694 * @param byteOffset The place in the buffer at which the value should be retrieved.
1695+ * @param littleEndian If false or undefined, a big-endian value should be read.
16931696 */
16941697 getInt16 ( byteOffset : number , littleEndian ?: boolean ) : number ;
16951698 /**
16961699 * Gets the Int32 value at the specified byte offset from the start of the view. There is
16971700 * no alignment constraint; multi-byte values may be fetched from any offset.
16981701 * @param byteOffset The place in the buffer at which the value should be retrieved.
1702+ * @param littleEndian If false or undefined, a big-endian value should be read.
16991703 */
17001704 getInt32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
17011705
@@ -1710,31 +1714,31 @@ interface DataView {
17101714 * Gets the Uint16 value at the specified byte offset from the start of the view. There is
17111715 * no alignment constraint; multi-byte values may be fetched from any offset.
17121716 * @param byteOffset The place in the buffer at which the value should be retrieved.
1717+ * @param littleEndian If false or undefined, a big-endian value should be read.
17131718 */
17141719 getUint16 ( byteOffset : number , littleEndian ?: boolean ) : number ;
17151720
17161721 /**
17171722 * Gets the Uint32 value at the specified byte offset from the start of the view. There is
17181723 * no alignment constraint; multi-byte values may be fetched from any offset.
17191724 * @param byteOffset The place in the buffer at which the value should be retrieved.
1725+ * @param littleEndian If false or undefined, a big-endian value should be read.
17201726 */
17211727 getUint32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
17221728
17231729 /**
17241730 * Stores an Float32 value at the specified byte offset from the start of the view.
17251731 * @param byteOffset The place in the buffer at which the value should be set.
17261732 * @param value The value to set.
1727- * @param littleEndian If false or undefined, a big-endian value should be written,
1728- * otherwise a little-endian value should be written.
1733+ * @param littleEndian If false or undefined, a big-endian value should be written.
17291734 */
17301735 setFloat32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17311736
17321737 /**
17331738 * Stores an Float64 value at the specified byte offset from the start of the view.
17341739 * @param byteOffset The place in the buffer at which the value should be set.
17351740 * @param value The value to set.
1736- * @param littleEndian If false or undefined, a big-endian value should be written,
1737- * otherwise a little-endian value should be written.
1741+ * @param littleEndian If false or undefined, a big-endian value should be written.
17381742 */
17391743 setFloat64 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17401744
@@ -1749,17 +1753,15 @@ interface DataView {
17491753 * Stores an Int16 value at the specified byte offset from the start of the view.
17501754 * @param byteOffset The place in the buffer at which the value should be set.
17511755 * @param value The value to set.
1752- * @param littleEndian If false or undefined, a big-endian value should be written,
1753- * otherwise a little-endian value should be written.
1756+ * @param littleEndian If false or undefined, a big-endian value should be written.
17541757 */
17551758 setInt16 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17561759
17571760 /**
17581761 * Stores an Int32 value at the specified byte offset from the start of the view.
17591762 * @param byteOffset The place in the buffer at which the value should be set.
17601763 * @param value The value to set.
1761- * @param littleEndian If false or undefined, a big-endian value should be written,
1762- * otherwise a little-endian value should be written.
1764+ * @param littleEndian If false or undefined, a big-endian value should be written.
17631765 */
17641766 setInt32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17651767
@@ -1774,17 +1776,15 @@ interface DataView {
17741776 * Stores an Uint16 value at the specified byte offset from the start of the view.
17751777 * @param byteOffset The place in the buffer at which the value should be set.
17761778 * @param value The value to set.
1777- * @param littleEndian If false or undefined, a big-endian value should be written,
1778- * otherwise a little-endian value should be written.
1779+ * @param littleEndian If false or undefined, a big-endian value should be written.
17791780 */
17801781 setUint16 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17811782
17821783 /**
17831784 * Stores an Uint32 value at the specified byte offset from the start of the view.
17841785 * @param byteOffset The place in the buffer at which the value should be set.
17851786 * @param value The value to set.
1786- * @param littleEndian If false or undefined, a big-endian value should be written,
1787- * otherwise a little-endian value should be written.
1787+ * @param littleEndian If false or undefined, a big-endian value should be written.
17881788 */
17891789 setUint32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
17901790}
0 commit comments