# Uses of Interface
java.lang.foreign.MemorySegment.Scope

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

- ## Uses of MemorySegment.ScopePREVIEW in java.lang.foreign

  Methods in java.lang.foreign that return MemorySegment.ScopePREVIEW
  Modifier and Type
  Method
  Description
  `MemorySegment.ScopePREVIEW`
  Arena.`scope()`
  Returns the arena scope.
  `MemorySegment.ScopePREVIEW`
  MemorySegment.`scope()`
  Returns the scope associated with this memory segment.