basis

memory

package memory

Virtual memory operations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. memory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Allocator extends (Long) ⇒ Data

    A memory allocator.

  2. abstract class Data extends AnyRef

    A byte-addressed memory region.

  3. sealed abstract class Endianness extends AnyRef

    A significance ordering.

  4. abstract class Struct[T] extends ClassTypeHint[T]

    A typeclass for binary data structures.

Value Members

  1. object Allocator

    An implicit factory for the default memory allocator.

  2. object BigEndian extends Endianness

    An ordering where more significant elements come before less significant ones.

  3. object Data extends Allocator

    An allocator for native-endian data backed by a primitive array.

  4. object LittleEndian extends Endianness

    An ordering where less significant elememts come before more significant ones.

  5. implicit val NativeEndian: Endianness

    The native byte order of the virtual machine.

  6. object Struct

    A factory for builtin structs.

  7. def align(base: Long, alignment: Long): Long

    Returns an address aligned to a power-of-two alignment.

    Returns an address aligned to a power-of-two alignment.

    base

    the address to align.

    alignment

    the required alignment.

    returns

    the aligned address.

  8. def alignOf[T](implicit T: Struct[T]): Long

    Returns the alignment of a struct type.

  9. def sizeOf[T](implicit T: Struct[T]): Long

    Returns the size of a struct type.

Inherited from AnyRef

Inherited from Any

Ungrouped