Skip to content

Type Method

parsePayload(_:)

Deserialize an array of bytes into a typed payload. When Payload is Codable, this method will default to decoding from JSON.
static func parsePayload(_ bytes: [UInt8]) throws -> Self.Payload

Parameters

bytes

The serialized bytes to decode.

Return Value

A decoded payload.

Default Implementations

Job Implementations