Skip to content

Home > resol-vbus-core > PacketConstructorOptions

PacketConstructorOptions interface

Options for the constructor of Packet.

Signature:

typescript
export interface PacketConstructorOptions extends HeaderConstructorOptions

Extends: HeaderConstructorOptions

Properties

Property

Modifiers

Type

Description

command?

number

(Optional) The command.

frameCount?

number

(Optional) The frame count.

frameData?

Uint8Array

(Optional) The frame data.

takeFrameData?

boolean

(Optional) Set to true to take ownership of frameData instead of copying it.