uint16Array Class
Array of type uint16_t.
Item Index
Methods
Methods
uint16Array
                      
                              
                                  (
                      
                      
                      
                      
                      
                      
                      
                      
                          
                      
                          - 
                                              nelements
Instantiates the array.
Parameters:
- 
                                              nelementsNumbernumber of elements in the array 
getitem
                      
                              
                                  (
                      
                              
                                  Number
                              
                      
                      
                      
                      
                      
                      
                      
                          
                      
                          - 
                                              index
Access a particular element in the array.
Parameters:
- 
                                              indexNumberindex of array to read from 
Returns:
                                              Number:
                                          
                              the value of the element found at the given index of the array
setitem
                      
                              
                                  (
                      
                      
                      
                      
                      
                      
                      
                      
                          
                      
                          - 
                                              index
- 
                                              value
Modify a particular element in the array.
Parameters:
- 
                                              indexNumberindex of array to write to 
- 
                                              valueNumberthe value to set the element found at the given index of the array