public final class JCGLR32IByteBuffered extends Object implements JCGLR32IType
ByteBuffer based implementation of the JCGLR32I record type.| Modifier and Type | Method and Description |
|---|---|
int |
getR() |
int |
metaROffsetFromCursor() |
int |
metaROffsetFromType() |
com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned |
metaRType() |
static JCGLR32IType |
newValue(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer)
Construct a view of a type.
|
static JCGLR32IType |
newValueWithOffset(ByteBuffer in_buffer,
com.io7m.jpra.runtime.java.JPRACursorByteReadableType in_pointer,
int in_base_offset)
Construct a view of a type.
|
void |
setR(int x)
Set the value of the
r field |
int |
sizeOctets() |
public static JCGLR32IType 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 JCGLR32IType 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 JCGLR32IReadableTyper field, from the start of the typepublic int metaROffsetFromCursor()
metaROffsetFromCursor in interface JCGLR32IReadableTyper field, from the cursorpublic com.io7m.jpra.runtime.java.JPRATypeModel.JPRAIntegerSigned metaRType()
metaRType in interface JCGLR32IReadableTyper fieldpublic int getR()
getR in interface JCGLR32IReadableTyper fieldpublic void setR(int x)
JCGLR32IWritableTyper fieldsetR in interface JCGLR32IWritableTypex - The new valueCopyright © 2016 <code@io7m.com> http://io7m.com