
public class JsUint8Array extends JsArrayBufferView implements Uint8Array, IndexableInt
BYTES_PER_ELEMENTSVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsUint8Array() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
The number of entries in the array; for these 8-bit values, this is the same as the size of the array in bytes.
|
void |
setElements(Object array) |
void |
setElements(Object array,
int offset) |
JsUint8Array |
subarray(int start)
|
JsUint8Array |
subarray(int start,
int end)
|
getBuffer, getByteLength, getByteOffsetaddEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringgetBuffer, getByteLength, getByteOffsetintAt, lengthnumberAtpublic final int getLength()
Uint8ArraygetLength in interface Uint8Arraypublic final void setElements(Object array)
setElements in interface Uint8Arraypublic final void setElements(Object array, int offset)
setElements in interface Uint8Arraypublic final JsUint8Array subarray(int start)
Uint8ArrayReturns a new Uint8Array view on the ArrayBuffer store for this Uint8Array object.
beginUint8Array object.end
Optional
Uint8Array object; if not specified, all elements from the one specified by begin to the end of the array are included in the new view.The range specified by begin and end is clamped to the valid index range for the current array; if the computed length of the new array would be negative, it's clamped to zero. If either begin or end is negative, it refers to an index from the end of the array instead of from the beginning.
subarray in interface Uint8Arraypublic final JsUint8Array subarray(int start, int end)
Uint8ArrayReturns a new Uint8Array view on the ArrayBuffer store for this Uint8Array object.
beginUint8Array object.end
Optional
Uint8Array object; if not specified, all elements from the one specified by begin to the end of the array are included in the new view.The range specified by begin and end is clamped to the valid index range for the current array; if the computed length of the new array would be negative, it's clamped to zero. If either begin or end is negative, it refers to an index from the end of the array instead of from the beginning.
subarray in interface Uint8ArrayCopyright © 2016. All rights reserved.