Table of Contents

Struct DataPointer

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This structure defines a simulated pointer for a data unit. This includes the starting location (pointer) and size of the data that is being stored.


public struct DataPointer

Constructors

DataPointer()

The default constructor for a pointer

public DataPointer()

DataPointer(int, int)

Constructs a new data pointer with the given pointer and size

public DataPointer(int pointer, int size)

Parameters

pointer int

The pointer of the data to read

size int

The size of the chunk in bytes

Fields

Pointer

The pointer in the data storage node where the data exists

public int Pointer

Field Value

int

Size

The number of bytes this pointer refers to inside the data

public int Size

Field Value

int

Properties

IsValid

This flag indicates if the pointer is a valid reference

public bool IsValid { get; }

Property Value

bool