private static long readEncodingAsLong( final DirectBuffer buffer, final int bufferIndex, final Token typeToken, final int actingVersion) { final PrimitiveValue constOrNotPresentValue = constOrNotPresentValue(typeToken, actingVersion); if (null != constOrNotPresentValue) { return constOrNotPresentValue.longValue(); } return Types.getLong(buffer, bufferIndex, typeToken.encoding()); }
private static long readEncodingAsLong( final DirectBuffer buffer, final int bufferIndex, final Token typeToken, final int actingVersion) { final PrimitiveValue constOrNotPresentValue = constOrNotPresentValue(typeToken, actingVersion); if (null != constOrNotPresentValue) { return constOrNotPresentValue.longValue(); } return Types.getLong(buffer, bufferIndex, typeToken.encoding()); } }
private static long readEncodingAsLong( final DirectBuffer buffer, final int bufferIndex, final Token typeToken, final int actingVersion) { final PrimitiveValue constOrNotPresentValue = constOrNotPresentValue(typeToken, actingVersion); if (null != constOrNotPresentValue) { return constOrNotPresentValue.longValue(); } return Types.getLong(buffer, bufferIndex, typeToken.encoding()); } }
private static long readEncodingAsLong( final DirectBuffer buffer, final int bufferIndex, final Token typeToken, final int actingVersion) { final PrimitiveValue constOrNotPresentValue = constOrNotPresentValue(typeToken, actingVersion); if (null != constOrNotPresentValue) { return constOrNotPresentValue.longValue(); } return Types.getLong(buffer, bufferIndex, typeToken.encoding()); } }