Constructor.
Optional
from: Record<string, number> | StateVectorCopy from state vector or its JSON value.
Initial lastUpdate value for each node entry.
Encode TLV-VALUE only.
Get node sequence number.
If the node does not exist, returns zero.
Get node entry.
If the node does not exist, returns an entry with seqNum=0.
List nodes with older sequence number in this state vector than other.
Update this state vector to have newer sequence numbers between this and other.
Set node sequence number or entry.
If specified as number, it's interpreted as sequence number, and Date.now()
is used as
lastUpdate. Otherwise, it's used as the node entry.
Setting sequence number to zero removes the node.
Static
decodeDecode TLV-VALUE only.
Static
fromDecode from name component.
No longer supported.
SVS state vector.