Table of Contents

Method OffsetOfElement

Namespace
Ubiquity.NET.Llvm
Assembly
Ubiquity.NET.Llvm.dll

OffsetOfElement(IStructType, uint)

Gets the offset of an element in a structure

public ulong OffsetOfElement(IStructType structType, uint element)

Parameters

structType IStructType

Type of the structure

element uint

index of the element in the structure

Returns

ulong

Offset of the element from the beginning of the structure