Methods
uint8Counter(options) → {number}
Unsigned 8 bit Wrapping Counter.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | number | If a number it is used as options.initial.
Properties
|
Yields:
Number from 1 to 255 wrapping when the max value is exceeded.
- Type
- number
uint16Counter(options) → {number}
Unsigned 16 bit Wrapping Counter.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | number | If a number it is used as options.initial.
Properties
|
Yields:
Number from 1 to 65535 wrapping when the max value is exceeded.
- Type
- number
uint32Counter(options) → {number}
Unsigned 32 bit Wrapping Counter.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | number | If a number it is used as options.initial.
Properties
|
Yields:
Number from 1 to 4294967295 wrapping when the max value is exceeded.
- Type
- number
uint53Counter(options) → {number}
Unsigned 53 bit Wrapping Counter.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | number | If a number it is used as options.initial.
Properties
|
Yields:
Number from 1 to 9007199254740991 wrapping when the max value is exceeded.
- Type
- number