MemoryLayoutPREVIEW
PaddingLayout
is a preview API of the Java platform.
A padding layout. A padding layout specifies the size of extra space which is typically not accessed by applications, and is typically used for aligning member layouts around word boundaries.
Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
Returns a memory layout with the same characteristics as this layout, but with the given name.
Returns a memory layout with the same characteristics as this layout, but with no name.
Methods declared in interface java.lang.foreign.MemoryLayoutPREVIEWbyteAlignment, byteOffset, byteOffsetHandle, byteSize, equals, hashCode, name, select, sliceHandle, toString, varHandle
Returns a memory layout with the same characteristics as this layout, but with the given name.
withName
in interface MemoryLayoutPREVIEW
name
- the layout name.
Returns a memory layout with the same characteristics as this layout, but with no name.
withoutName
in interface MemoryLayoutPREVIEW
Returns a memory layout with the same characteristics as this layout, but with the given alignment constraint (in bytes).
withByteAlignment
in interface MemoryLayoutPREVIEW
byteAlignment
- the layout alignment constraint, expressed in bytes.
IllegalArgumentException
- if byteAlignment
is not a power of two.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4