Glossary Term
DataView.prototype.getUint16()
2 tags
1 category
The getUint16() method of DataView instances reads 2 bytes starting at the specified byte offset of this DataView and interprets them as a 16-bit unsigned integer. There is no alignment constraint; multi-byte values may be fetched from any offset within bounds.
Parameters: byteOffset The offset, in bytes, from the start of the view to read the data from. littleEndian Indicates whether the data is stored in little- or big-endian format. If false or undefined, a big-endian value is read.
Syntax example: getUint16(byteOffset)
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
