# Uses of Interface
java.lang.foreign.PaddingLayout

Packages that use PaddingLayoutPREVIEW
Package
Description
java.lang.foreign
Provides low-level access to memory and functions outside the Java runtime.

- ## Uses of PaddingLayoutPREVIEW in java.lang.foreign

  Methods in java.lang.foreign that return PaddingLayoutPREVIEW
  Modifier and Type
  Method
  Description
  `static PaddingLayoutPREVIEW`
  MemoryLayout.`paddingLayout(long size)`
  Creates a padding layout with the given size.
  `PaddingLayoutPREVIEW`
  PaddingLayout.`withBitAlignment(long bitAlignment)`
  Returns a memory layout of the same type with the same size and name as this layout, but with the specified alignment constraint (in bits).
  `PaddingLayoutPREVIEW`
  PaddingLayout.`withName(String name)`
  Returns a memory layout of the same type with the same size and alignment constraint as this layout, but with the specified name.