Class MemoryLayouts

java.lang.Object
jdk.incubator.foreign.MemoryLayouts

public final class MemoryLayouts
extends Object
This class defines useful layout constants. Some of the constants defined in this class are explicit in both size and byte order (see BITS_64_BE), and can therefore be used to explicitly and unambiguously specify the contents of a memory segment. Other constants make implicit byte order assumptions (see JAVA_INT); as such, these constants make it easy to work with other serialization-centric APIs, such as ByteBuffer.