Class DataViewStream

java.lang.Object
com.google.gwt.typedarrays.shared.DataViewStream

public class DataViewStream extends Object
A stream of heterogeneous values on top of a DataViewStream.
  • Constructor Details

    • DataViewStream

      public DataViewStream(DataView dataView)
  • Method Details

    • getFloat32

      public float getFloat32()
    • getFloat32

      public float getFloat32(boolean littleEndian)
    • getFloat64

      public double getFloat64()
    • getFloat64

      public double getFloat64(boolean littleEndian)
    • getInt16

      public short getInt16()
    • getInt16

      public short getInt16(boolean littleEndian)
    • getInt32

      public int getInt32()
    • getInt32

      public int getInt32(boolean littleEndian)
    • getInt8

      public byte getInt8()
    • getUint16

      public int getUint16()
    • getUint16

      public int getUint16(boolean littleEndian)
    • getUint32

      public long getUint32()
    • getUint32

      public long getUint32(boolean littleEndian)
    • getUint32AsDouble

      public double getUint32AsDouble()
      Returns:
      unsigned 32-bit int as a double
    • getUint32AsDouble

      public double getUint32AsDouble(boolean littleEndian)
      Parameters:
      littleEndian -
      Returns:
      unsigned 32-bit int as a double
    • getUint8

      public short getUint8()
    • position

      public int position()
    • putFloat32

      public void putFloat32(float value)
    • putFloat32

      public void putFloat32(float value, boolean littleEndian)
    • putFloat64

      public void putFloat64(double value)
    • putFloat64

      public void putFloat64(double value, boolean littleEndian)
    • putInt16

      public void putInt16(int value)
    • putInt16

      public void putInt16(int value, boolean littleEndian)
    • putInt32

      public void putInt32(int value)
    • putInt32

      public void putInt32(int value, boolean littleEndian)
    • putInt8

      public void putInt8(int value)
    • putUint16

      public void putUint16(int value)
    • putUint16

      public void putUint16(int value, boolean littleEndian)
    • putUint32

      public void putUint32(long value)
    • putUint32

      public void putUint32(long value, boolean littleEndian)
    • putUint32FromDouble

      public void putUint32FromDouble(double value)
      Parameters:
      value -
    • putUint32FromDouble

      public void putUint32FromDouble(double value, boolean littleEndian)
      Parameters:
      value -
      littleEndian -
    • putUint8

      public void putUint8(int value)
    • rewind

      public void rewind()
    • setPosition

      public void setPosition(int position)