View Source Nx.Pointer (Nx v0.9.0)

Represents a reference to a value in memory.

Can represent either a pointer or an IPC handle.

Summary

Types

@type t() :: %Nx.Pointer{
  address: nil | non_neg_integer(),
  data_size: pos_integer(),
  handle: nil | binary(),
  kind: :local | :ipc
}