Skip to content

Home > resol-vbus-core > liveEncodeTelegram

liveEncodeTelegram() function

Encode a VBus telegram into its live protocol representation.

Signature:

typescript
export declare function liveEncodeTelegram(tgram: Telegram): Uint8Array;

Parameters

Parameter

Type

Description

tgram

Telegram

The telegram to encode.

**Returns:**

Uint8Array

The encoded data.