public final class JCGLR16ByteBuffered extends Object implements JCGLR16Type
ByteBuffer based implementation of the JCGLR16 record type.| Modifier and Type | Method and Description |
|---|---|
double |
getR() |
short |
getRRaw() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsignedNormalized |
metaRType() |
static JCGLR16Type |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLR16Type |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setR(double x)
Set the value of the
r field |
void |
setRRaw(short x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLR16Type newValueWithOffset(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer, int in_base_offset)
in_buffer - A byte bufferin_pointer - A cursorin_base_offset - The base offset from the cursorpublic static JCGLR16Type newValue(ByteBuffer in_buffer, com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
in_buffer - A byte bufferin_pointer - A cursorpublic int sizeOctets()
sizeOctets in interface com.io7m.jpra.runtime.java.JPRAValueTypepublic int metaROffsetFromType()
metaROffsetFromType in interface JCGLR16ReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLR16ReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerUnsignedNormalized metaRType()
metaRType in interface JCGLR16ReadableTyper fieldpublic short getRRaw()
getRRaw in interface JCGLR16ReadableTyper fieldpublic void setRRaw(short x)
JCGLR16WritableTyper fieldsetRRaw in interface JCGLR16WritableTypex - The new valuepublic double getR()
getR in interface JCGLR16ReadableTyper fieldpublic void setR(double x)
JCGLR16WritableTyper fieldsetR in interface JCGLR16WritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com