VH_NATIVE_INT

A VarHandle to read/write native endian int from a byte array. Shape: int vh.get(byte[] arr, int ofs) and void vh.set(byte[] arr, int ofs, int val)

Warning: This handle uses default order only in production environments, during testing we randomize it. If you need to communicate with native APIs (e.g., Java's Panama API), use .

Functions

Link copied to clipboard
fun get(nextBlocks: ByteArray, offset: Int): Int