Package pyjsdl :: Module pyjsarray :: Class Int8Array

Class Int8Array

object --+    
         |    
TypedArray --+
             |
            Int8Array

Create a TypedArray interface to Int8Array.
Instance Methods
 
__init__(self, data=None, offset=None, length=None)
The TypedArray object is instantiated with either the array size, an array of TypedArray or Python type, or an existing ArrayBuffer to view, which creates a new TypedArray of size and included data as the specified type. Optional arguments include offset index at which ArrayBuffer data is inserted and length of an ArrayBuffer.

Inherited from TypedArray: __getitem__, __iter__, __len__, __setitem__, __str__, filter, getArray, getBuffer, getByteLength, getByteOffset, getBytesPerElement, getLength, map, reduce, set, setArray, slice, subarray

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, data=None, offset=None, length=None)
(Constructor)

 
The TypedArray object is instantiated with either the array size, an array of TypedArray or Python type, or an existing ArrayBuffer to view, which creates a new TypedArray of size and included data as the specified type. Optional arguments include offset index at which ArrayBuffer data is inserted and length of an ArrayBuffer.
Overrides: object.__init__
(inherited documentation)