Class TUInt32List

Unit

Declaration

type TUInt32List = class(specialize TStructList<UInt32>)

Description

List of 32-bit unsigned values.

Source: src/base/castleutils_primitive_lists.inc (line 44).

Hierarchy

Overview

Methods

Public function Max: UInt32;
Public procedure Assign(const Source: TInt32List);
Public procedure AssignCheckUnsigned(const Source: TInt32List);

Description

Methods

Public function Max: UInt32;

This item has no description.

Source: src/base/castleutils_primitive_lists.inc (line 46).

Public procedure Assign(const Source: TInt32List);

Assign list of signed (Int32) into unsigned (UInt32), fast, possibly without checking whether all values in Source are actually >= 0.

It is undefined what happens if Source contains values < 0, they may result in treating the value as unsigned (thus we'll get value 4294967295 when Source had -1).

Because of this lack of safety, don't use this with Source lists you don't trust that really are unsigned. In particular, don't use this for data that comes from some external input, e.g. to process geometry indexes from 3D files.

Source: src/base/castleutils_primitive_lists.inc (line 60).

Public procedure AssignCheckUnsigned(const Source: TInt32List);

Assign list of signed (Int32) into unsigned (UInt32), checking whether all values in Source are actually >= 0.

Exceptions raised
Exception
If some value in Source is < 0.

Source: src/base/castleutils_primitive_lists.inc (line 66).


Generated by PasDoc 0.17.0.snapshot.