
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Samual Sam has Published 2310 Articles

Samual Sam
59 Views
The getUint16() function of the DataView gets and returns an unsigned 16-bit integer at the specified position.SyntaxIts syntax is as followsdataView.getUint16();Example Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new DataView(arrayBuffer); dataView.setUint16(1, ... Read More

Samual Sam
86 Views
Use the containsValue() method to check for the existence of a value. First, create a IdentityHashMap −Map m = new IdentityHashMap();Add some elements −m.put("1", 100); m.put("2", 200); m.put("3", 300); m.put("4", 150); m.put("5", 110); m.put("6", 50); m.put("7", 90); m.put("8", 250); m.put("9", 350); m.put("10", 450);Now check for the existence of a value ... Read More

Samual Sam
80 Views
The getUint8() function of the DataView gets and returns an unsigned 8-bit integer at the specified position.SyntaxIts syntax is as followsdataView.getUint8();Example Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new DataView(arrayBuffer); dataView.setUint8(1, ... Read More

Samual Sam
68 Views
The setInt32() function of the DataView stores a signed 32-bit integer at the specified position.SyntaxIts syntax is as followsdataView.setInt32();Example Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new DataView(arrayBuffer); dataView.setInt32(1, 36274722); ... Read More

Samual Sam
90 Views
The setUint16() function of the DataView stores an unsigned 16-bit integer at the specified position.SyntaxIts syntax is as followsdataView.setUint16();Example Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new DataView(arrayBuffer); dataView.setUint16(1, 45544); ... Read More

Samual Sam
156 Views
The Atomic object of JavaScript is an object and which provides atomic operations such as add, sub, and, or, xor, load, store etc. as static methods, these methods are used with SharedArrayBuffer objects.The xor() function of the atomic object accepts a number and the position and, performs an xor operation ... Read More

Samual Sam
86 Views
The byteOffset property of the DataView represents the offset of the current DataView.SyntaxIts syntax is as followsdataView.byteOffset();ExampleTry the following example. Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(114); var dataView = new DataView(arrayBuffer); document.write(dataView.buffer.byteLength); Output114

Samual Sam
127 Views
The getFloat64() function of the DataView gets and returns a signed 64-bit floating point number at the specified position.SyntaxIts syntax is as followsdataView.getFloat64();ExampleTry the following example. Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new ... Read More

Samual Sam
90 Views
The getInt16() function of the DataView gets and returns a signed 16-bit integer at the specified position.SyntaxIts syntax is as followsdataView.getInt16();Example Live Demo JavaScript Example var arrayBuffer = new ArrayBuffer(20); var dataView = new DataView(arrayBuffer); dataView.setInt16(1, 3225); ... Read More