Skip to content

@pumpkin-plugins/upnpumpkin-api API / protocol / decodeReply

Function: decodeReply() ​

decodeReply(bytes): Reply | undefined

Defined in: tools/upnpumpkin-api/src/protocol.ts:126

Reads a reply.

Parameters ​

bytes ​

Uint8Array

Returns ​

Reply | undefined

The reply, or undefined when the bytes aren't one this version understands.

Pumpkin Plugins documentation