@@ -1669,13 +1669,15 @@ interface DataView {
1669
1669
* Gets the Float32 value at the specified byte offset from the start of the view. There is
1670
1670
* no alignment constraint; multi-byte values may be fetched from any offset.
1671
1671
* @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.
1672
1673
*/
1673
1674
getFloat32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1674
1675
1675
1676
/**
1676
1677
* Gets the Float64 value at the specified byte offset from the start of the view. There is
1677
1678
* no alignment constraint; multi-byte values may be fetched from any offset.
1678
1679
* @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.
1679
1681
*/
1680
1682
getFloat64 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1681
1683
@@ -1690,12 +1692,14 @@ interface DataView {
1690
1692
* Gets the Int16 value at the specified byte offset from the start of the view. There is
1691
1693
* no alignment constraint; multi-byte values may be fetched from any offset.
1692
1694
* @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.
1693
1696
*/
1694
1697
getInt16 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1695
1698
/**
1696
1699
* Gets the Int32 value at the specified byte offset from the start of the view. There is
1697
1700
* no alignment constraint; multi-byte values may be fetched from any offset.
1698
1701
* @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.
1699
1703
*/
1700
1704
getInt32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1701
1705
@@ -1710,31 +1714,31 @@ interface DataView {
1710
1714
* Gets the Uint16 value at the specified byte offset from the start of the view. There is
1711
1715
* no alignment constraint; multi-byte values may be fetched from any offset.
1712
1716
* @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.
1713
1718
*/
1714
1719
getUint16 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1715
1720
1716
1721
/**
1717
1722
* Gets the Uint32 value at the specified byte offset from the start of the view. There is
1718
1723
* no alignment constraint; multi-byte values may be fetched from any offset.
1719
1724
* @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.
1720
1726
*/
1721
1727
getUint32 ( byteOffset : number , littleEndian ?: boolean ) : number ;
1722
1728
1723
1729
/**
1724
1730
* Stores an Float32 value at the specified byte offset from the start of the view.
1725
1731
* @param byteOffset The place in the buffer at which the value should be set.
1726
1732
* @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.
1729
1734
*/
1730
1735
setFloat32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1731
1736
1732
1737
/**
1733
1738
* Stores an Float64 value at the specified byte offset from the start of the view.
1734
1739
* @param byteOffset The place in the buffer at which the value should be set.
1735
1740
* @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.
1738
1742
*/
1739
1743
setFloat64 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1740
1744
@@ -1749,17 +1753,15 @@ interface DataView {
1749
1753
* Stores an Int16 value at the specified byte offset from the start of the view.
1750
1754
* @param byteOffset The place in the buffer at which the value should be set.
1751
1755
* @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.
1754
1757
*/
1755
1758
setInt16 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1756
1759
1757
1760
/**
1758
1761
* Stores an Int32 value at the specified byte offset from the start of the view.
1759
1762
* @param byteOffset The place in the buffer at which the value should be set.
1760
1763
* @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.
1763
1765
*/
1764
1766
setInt32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1765
1767
@@ -1774,17 +1776,15 @@ interface DataView {
1774
1776
* Stores an Uint16 value at the specified byte offset from the start of the view.
1775
1777
* @param byteOffset The place in the buffer at which the value should be set.
1776
1778
* @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.
1779
1780
*/
1780
1781
setUint16 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1781
1782
1782
1783
/**
1783
1784
* Stores an Uint32 value at the specified byte offset from the start of the view.
1784
1785
* @param byteOffset The place in the buffer at which the value should be set.
1785
1786
* @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.
1788
1788
*/
1789
1789
setUint32 ( byteOffset : number , value : number , littleEndian ?: boolean ) : void ;
1790
1790
}
0 commit comments