- begin :The slicing begins from Zero-based byte index.
- end : The slicing ends at this index byte. The new ArrayBuffer will contain all the contents, if the end is found unspecified. It must be valid index range specified for the current array. If the new ArrayBuffer length is found negative then it is fixed with zero.
The property returns a new ArrayBuffer object.
Input : uint32View = 31 myBuffer.slice(4, 12) sliced_bu Output : 31 Input : uint32View = 32 myBuffer.slice(4, 12) sliced_bu Output : 32