Parse the payload for a record based on its category.
The record category
The payload bytes
The parsed payload or null if category has no payload
Parse the payload for a record based on its category.