[NETWORK_ADDRESS_INVALID]
If networkAddress is not
"ipv4" or "mac".
The number of bits for the fragment.
The type of network address to use,
"ipv4"
or
"mac"
.
Defaults to "ipv4"
if omitted.
The bit mask used to isolate the fragment's bits from the snowflake.
bitMask is equal to maxValue << bitShift
The hexadecimal representation of the bit mask as string.
The number of bits for left and right shifting.
bitShift is equal to the number of bits on the right side
Readonly
bits
The fragment identifier.
Readonly
maxThe maximum value that can be represented by this fragment.
maxValue is equal to 2 ** bits - 1
Readonly
networkThe current value of the fragment.
Private
getGenerated using TypeDoc
NetworkFragment class for network IDs.