Class TUInt32List

Unit

Declaration

type TUInt32List = class(specialize TStructList<UInt32>)

Description

List of 32-bit unsigned values.

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.

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.

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.

Generated by PasDoc 0.16.0-snapshot.