Skip to content

Home > resol-vbus-core > liveEncode

liveEncode() function

Encode a VBus header into its live protocol representation.

Signature:

typescript
export declare function liveEncode(input: Header | Uint8Array): Uint8Array;

Parameters

Parameter

Type

Description

input

Header | Uint8Array

The data to encode.

**Returns:**

Uint8Array

The encoded data.