Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetOffset

func GetOffset(length: int) -> int

Declaring type: Index
Module: System
Assembly: System.Runtime.dll
Source file: Index.rvn

Resolves an offset. The caller supplies a nonnegative length and checks element bounds.

Parameters

Name Type Description
length Int32

Return value

Int32