Skip to content

Home > resol-vbus-core > LiveTransceiver > decode

LiveTransceiver.decode() method

Decode a chunk of VBus live data.

Signature:

typescript
decode(buffer: Uint8Array, start?: number, end?: number): void;

Parameters

Parameter

Type

Description

buffer

Uint8Array

The buffer to decode.

start

number

(Optional) The start index inside the buffer.

end

number

(Optional) The end index inside the buffer.

**Returns:**

void