Uses of Class
jdk.incubator.foreign.ValueLayout.OfBoolean
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of ValueLayout.OfBoolean in jdk.incubator.foreign
Modifier and TypeFieldDescriptionstatic final ValueLayout.OfBoolean
ValueLayout.JAVA_BOOLEAN
A value layout constant whose size is the same as that of a Javaboolean
, bit alignment set to 8, and byte order set toByteOrder.nativeOrder()
.Modifier and TypeMethodDescriptionboolean
MemoryAddress.get
(ValueLayout.OfBoolean layout, long offset) Reads a boolean from this address and offset with given layout.default boolean
MemorySegment.get
(ValueLayout.OfBoolean layout, long offset) Reads a boolean from this segment and offset with given layout.void
MemoryAddress.set
(ValueLayout.OfBoolean layout, long offset, boolean value) Writes a boolean to this address instance and offset with given layout.default void
MemorySegment.set
(ValueLayout.OfBoolean layout, long offset, boolean value) Writes a boolean to this segment and offset with given layout.