def METHOD_NAME(encoder: JsonSchemaEncoder, event_data: EventData):
    # get content as bytes
    content = bytearray()
    for c in cast(List[bytes], event_data.body):
        content += c
    content_bytes = bytes(content)
    message_content = MessageContent({"content": content_bytes, "content_type": cast(str, event_data.content_type)})
    decoded_content = encoder.decode(message_content)
    print("Decoded content is: ", decoded_content)
    return decoded_content