Skip to content

Home > resol-vbus-core > encodePacketRecord

encodePacketRecord() function

Encode a Packet into a type 66 record.

Signature:

typescript
export declare function encodePacketRecord(packet: Packet): Uint8Array;

Parameters

Parameter

Type

Description

packet

Packet

The packet to encode.

**Returns:**

Uint8Array

The buffer containing the record.