@NotNull @Override @ForceInline public NativeBytesStore<Underlying> writeInt(long offset, int i32) { memory.writeInt(address + translate(offset), i32); return this; }
public static void entries(long address, long entries) { if (entries >= (1L << 32)) { throw new IllegalStateException( "tier entries overflow: up to " + UNSIGNED_INT_MASK + " supported, " + entries + " given"); } memory.writeInt(address + ENTRIES_OFFSET, (int) entries); }
public static void deleted(long address, long deleted) { if (deleted >= (1L << 32)) { throw new IllegalStateException( "tier deleted entries count overflow: up to " + UNSIGNED_INT_MASK + " supported, " + deleted + " given"); } memory.writeInt(address + DELETED_OFFSET, (int) deleted); }
public static void tier(long address, int tier) { memory.writeInt(address + TIER_OFFSET, tier); }
public static void segmentIndex(long address, int segmentIndex) { memory.writeInt(address + SEGMENT_INDEX_OFFSET, segmentIndex); }