Appearance
Home > resol-vbus-core > HeaderSet
HeaderSet class
A set of unique VBus Headers.
Signature:
typescript
export declare class HeaderSet<T extends Header = Header>
Constructors
Constructor | Modifiers | Description |
---|---|---|
Construct a header set. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
T[] | The list of headers. | ||
Date | The timestamp. |
Methods
Method | Modifiers | Description |
---|---|---|
Add / replace a header to the set. | ||
Add / replace a list of headers to the set. | ||
Find the index of a header. | ||
Get count of headers. | ||
Get (unsorted) list of headers. | ||
Get ID string. | ||
Get sorted list of headers. | ||
Get a new header set containing the sorted headers of this set. | ||
Remove all headers from the set. | ||
Remove all headers older than the provided timestamp. |