public class JsDataView extends JsArrayBufferView implements DataView
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsDataView() |
Modifier and Type | Method and Description |
---|---|
float |
getFloat32(int byteOffset) |
float |
getFloat32(int byteOffset,
boolean littleEndian) |
double |
getFloat64(int byteOffset) |
double |
getFloat64(int byteOffset,
boolean littleEndian) |
short |
getInt16(int byteOffset) |
short |
getInt16(int byteOffset,
boolean littleEndian) |
int |
getInt32(int byteOffset) |
int |
getInt32(int byteOffset,
boolean littleEndian) |
Object |
getInt8()
Gets a signed 8-bit integer at the specified byte offset from the start of the view.
|
int |
getUint16(int byteOffset) |
int |
getUint16(int byteOffset,
boolean littleEndian) |
int |
getUint32(int byteOffset) |
int |
getUint32(int byteOffset,
boolean littleEndian) |
Object |
getUint8()
Gets an unsigned 8-bit integer at the specified byte offset from the start of the view.
|
void |
setFloat32(int byteOffset,
float value) |
void |
setFloat32(int byteOffset,
float value,
boolean littleEndian) |
void |
setFloat64(int byteOffset,
double value) |
void |
setFloat64(int byteOffset,
double value,
boolean littleEndian) |
void |
setInt16(int byteOffset,
short value) |
void |
setInt16(int byteOffset,
short value,
boolean littleEndian) |
void |
setInt32(int byteOffset,
int value) |
void |
setInt32(int byteOffset,
int value,
boolean littleEndian) |
void |
setInt8() |
void |
setUint16(int byteOffset,
int value) |
void |
setUint16(int byteOffset,
int value,
boolean littleEndian) |
void |
setUint32(int byteOffset,
int value) |
void |
setUint32(int byteOffset,
int value,
boolean littleEndian) |
void |
setUint8() |
getBuffer, getByteLength, getByteOffset
addEventListener, 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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBuffer, getByteLength, getByteOffset
intAt, length
numberAt
public final float getFloat32(int byteOffset)
getFloat32
in interface DataView
public final float getFloat32(int byteOffset, boolean littleEndian)
getFloat32
in interface DataView
public final double getFloat64(int byteOffset)
getFloat64
in interface DataView
public final double getFloat64(int byteOffset, boolean littleEndian)
getFloat64
in interface DataView
public final short getInt16(int byteOffset, boolean littleEndian)
public final int getInt32(int byteOffset, boolean littleEndian)
public final Object getInt8()
DataView
Gets a signed 8-bit integer at the specified byte offset from the start of the view.
offset
INDEX_SIZE_ERR
byteOffset
is set such as it would read beyond the end of the viewpublic final int getUint16(int byteOffset, boolean littleEndian)
public final int getUint32(int byteOffset, boolean littleEndian)
public final Object getUint8()
DataView
Gets an unsigned 8-bit integer at the specified byte offset from the start of the view.
offset
INDEX_SIZE_ERR
byteOffset
is set such as it would read beyond the end of the viewpublic final void setFloat32(int byteOffset, float value)
setFloat32
in interface DataView
public final void setFloat32(int byteOffset, float value, boolean littleEndian)
setFloat32
in interface DataView
public final void setFloat64(int byteOffset, double value)
setFloat64
in interface DataView
public final void setFloat64(int byteOffset, double value, boolean littleEndian)
setFloat64
in interface DataView
public final void setInt16(int byteOffset, short value)
public final void setInt16(int byteOffset, short value, boolean littleEndian)
public final void setInt32(int byteOffset, int value)
public final void setInt32(int byteOffset, int value, boolean littleEndian)
public final void setUint16(int byteOffset, int value)
public final void setUint16(int byteOffset, int value, boolean littleEndian)
public final void setUint32(int byteOffset, int value)
public final void setUint32(int byteOffset, int value, boolean littleEndian)
Copyright © 2018. All rights reserved.