Skip to content

Home > resol-vbus-core > LiveDecoder > decode

LiveDecoder.decode() method

Decode a chunk of data.

Signature:

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

Parameters

Parameter

Type

Description

providedBuffer

Uint8Array

The chunk of data.

start

number

(Optional) The start index inside the buffer.

end

number

(Optional) The end index inside the buffer.

**Returns:**

void