Packet

class Packet(val data: ByteArray)

Represents a packet of data which can be sent to/from the daemon on the Pico device.

Packets should be constructed by using the inner Builder class.

Parameters

data

Raw byte data encapsulated by the packet

See also

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Types

Link copied to clipboard
class Builder(command: Command)

Builder class for Packet.

Properties

Link copied to clipboard