public int irId() { return CodecUtil.int32Get(buffer, offset + 0, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int tokenVersion() { return CodecUtil.int32Get(buffer, offset + 12, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int tokenSize() { return CodecUtil.int32Get(buffer, offset + 4, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int schemaVersion() { return CodecUtil.int32Get(buffer, offset + 8, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int tokenOffset() { return CodecUtil.int32Get(buffer, offset + 0, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int fieldId() { return CodecUtil.int32Get(buffer, offset + 8, java.nio.ByteOrder.LITTLE_ENDIAN); }
public int irVersion() { return CodecUtil.int32Get(buffer, offset + 4, java.nio.ByteOrder.LITTLE_ENDIAN); }
return CodecUtil.int32Get(buffer, bufferIndex, byteOrder);
sb.append(CodecUtil.int32Get(buffer, index, encoding.byteOrder())); break;
private static long getLong(final DirectBuffer buffer, final int index, final Encoding encoding) { switch (encoding.primitiveType()) { case CHAR: return CodecUtil.charGet(buffer, index); case INT8: return CodecUtil.int8Get(buffer, index); case INT16: return CodecUtil.int16Get(buffer, index, encoding.byteOrder()); case INT32: return CodecUtil.int32Get(buffer, index, encoding.byteOrder()); case INT64: return CodecUtil.int64Get(buffer, index, encoding.byteOrder()); case UINT8: return CodecUtil.uint8Get(buffer, index); case UINT16: return CodecUtil.uint16Get(buffer, index, encoding.byteOrder()); case UINT32: return CodecUtil.uint32Get(buffer, index, encoding.byteOrder()); case UINT64: return CodecUtil.uint64Get(buffer, index, encoding.byteOrder()); default: throw new IllegalArgumentException("Unsupported type for long: " + encoding.primitiveType()); } }
return new PrimitiveValue(CodecUtil.int32Get(buffer, 0, ByteOrder.LITTLE_ENDIAN), 4);