CoapPacket.fromBytes

Decodes the given bytes into a CoapPacket

class CoapPacket
static
fromBytes
(
ubyte[] data
)

Parameters

data ubyte[]

the bytes to decode

Return Value

a decoded CoapPacket

Throws

CoapException on error decoding

Meta