public final class JCGLR8IByteBuffered extends Object implements JCGLR8IType
ByteBuffer based implementation of the JCGLR8I packed type.| Modifier and Type | Method and Description |
|---|---|
int |
getR() |
static JCGLR8IType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLR8IType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
set(int r)
Set the value of all fields.
|
void |
setR(int x)
Set the value of the
r field. |
static int |
sizeInOctets() |
int |
sizeOctets() |
public static JCGLR8IType 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 JCGLR8IType 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 static int sizeInOctets()
public int getR()
getR in interface JCGLR8IReadableTyper fieldpublic void setR(int x)
JCGLR8IWritableTyper field.
The 8 least significant bits of x will be used.setR in interface JCGLR8IWritableTypex - The new valuepublic void set(int r)
JCGLR8IWritableTypeset in interface JCGLR8IWritableTyper - The value for field rCopyright © 2017 <code@io7m.com> http://io7m.com