isAgentFailure

fnbool isAgentFailure(const(ubyte)[] payload) @safe pure nothrow

Checks whether a payload is the generic agent failure status.

Parameters

payloadFramed payload bytes.

Returns

True when the payload is exactly the failure status byte.