Appearance
Home > resol-vbus-core > encodeHeaderSetRecords
encodeHeaderSetRecords() function
Encode a HeaderSet into its records.
Signature:
typescript
export declare function encodeHeaderSetRecords(headerSet: HeaderSet, joinBuffers: true): Uint8Array;
Parameters
Parameter | Type | Description |
---|---|---|
headerSet | The header set to encode. | |
joinBuffers | true | Whether the function should join the buffers into a singular buffer. |
Uint8Array
The buffer containing the records.