Uses of Class
java.lang.foreign.ValueLayout.OfBoolean
Packages that use ValueLayout.OfBooleanPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of ValueLayout.OfBooleanPREVIEW in java.lang.foreign
Fields in java.lang.foreign declared as ValueLayout.OfBooleanPREVIEWModifier and TypeFieldDescriptionstatic final ValueLayout.OfBooleanPREVIEW
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()
.Methods in java.lang.foreign that return ValueLayout.OfBooleanPREVIEWMethods in java.lang.foreign with parameters of type ValueLayout.OfBooleanPREVIEWModifier and TypeMethodDescriptionboolean
MemoryAddress.get
(ValueLayout.OfBooleanPREVIEW layout, long offset) Reads a boolean from this address at the given offset, with the given layout.default boolean
MemorySegment.get
(ValueLayout.OfBooleanPREVIEW layout, long offset) Reads a boolean from this segment at the given offset, with the given layout.void
MemoryAddress.set
(ValueLayout.OfBooleanPREVIEW layout, long offset, boolean value) Writes a boolean into this address at the given offset, with the given layout.default void
MemorySegment.set
(ValueLayout.OfBooleanPREVIEW layout, long offset, boolean value) Writes a boolean into this segment at the given offset, with the given layout.