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
bytesThe serialized bytes to decode.
Return Value
A decoded payload.
Default Implementations
Job Implementations
parsePayload(_:)Default implementation forparsePayload(_:).