Table of Contents

Method AsPointerInt

Namespace
Zyl.ExSpans.Impl
Assembly
ExSpans.Core.dll

AsPointerInt<T>(ref readonly T)

Returns a pointer integer to the given by-ref parameter (返回所给引用的指针整数值).

public static nint AsPointerInt<T>(ref readonly T value)

Parameters

value T

The object whose pointer is obtained (指针被获取的对象).

Returns

nint

A pointer integer to the given value (所给引用的指针整数值).

Type Parameters

T

The type of object (对象类型).