NOTE: Range of 16-bit integer value is from 0 and 65,535 for unsigned and from ?32,768 to 32,767 for signed integer value.
byteoffset: The offset, in a byte, from the start of the view where to read the data.
This method returns a signed 16-bit integer number.
Example 1Test it Now
If we give a float value then output will be an Integer 3
Example 2Test it Now
If there is no data to be stored, then Output will Be: 0
Example 3Test it Now
PI value will be 3
Example 4Test it Now
If we provide Integer value then output will be. 7