ptrToInt static method

int ptrToInt(
  1. int ptr
)

The code is used only internally and is not a public API. The comment exists mainly to satisfy the linter.

Implementation

static int ptrToInt(int ptr) => ptr;