ToSafeIntX extension

Extension on num to allow safe integer conversions.

on

Methods

toSafeUInt32() int
Converts the number to a valid uint32 value.
toSafeUInt64() int
Converts the number to a valid uint64 value.

Static Properties

maxSafeInteger int
The maximum possible value of an unsigned integer in JavaScript.
no setter

Constants

uint32SafeMax → const int
The maximum possible value of an usigned 32bit integer.