Module java.base
Package java.lang.foreign

# Interface MemoryLayout

=
public abstract sealed interface MemoryLayout
permits java.lang.foreign.GroupLayout, java.lang.foreign.PaddingLayout, java.lang.foreign.SequenceLayout, java.lang.foreign.ValueLayout

## Nested Types

- = PathElement

## Methods

- =
  public abstract java.lang.invoke.VarHandle arrayElementVarHandle(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public abstract long byteAlignment()
- =
  public abstract long byteOffset(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public abstract java.lang.invoke.MethodHandle byteOffsetHandle(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public abstract long byteSize()
- =
  public abstract boolean equals(java.lang.Object arg0)
- =
  public abstract int hashCode()
- =
  public abstract java.util.Optional<java.lang.String> name()
- =
  public static java.lang.foreign.PaddingLayout paddingLayout(long arg0)
- =
  public abstract long scale(long arg0, long arg1)
- =
  public abstract java.lang.invoke.MethodHandle scaleHandle()
- =
  public abstract java.lang.foreign.MemoryLayout select(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public static java.lang.foreign.SequenceLayout sequenceLayout(long arg0, java.lang.foreign.MemoryLayout arg1)
- =
  public abstract java.lang.invoke.MethodHandle sliceHandle(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public static java.lang.foreign.StructLayout structLayout(java.lang.foreign.MemoryLayout[] arg0)
- =
  public abstract java.lang.String toString()
- =
  public static java.lang.foreign.UnionLayout unionLayout(java.lang.foreign.MemoryLayout[] arg0)
- =
  public abstract java.lang.invoke.VarHandle varHandle(java.lang.foreign.MemoryLayout.PathElement[] arg0)
- =
  public abstract java.lang.foreign.MemoryLayout withByteAlignment(long arg0)
- =
  public abstract java.lang.foreign.MemoryLayout withName(java.lang.String arg0)
- =
  public abstract java.lang.foreign.MemoryLayout withoutName()

## Summary

No differences.