Custom codec function parameters

Hello. The function prototype for the custom codec decoder includes the port number and an array of bytes.

Is there a way to access data other than the port and bytes in the custom codec? Specifically, is it possible to obtain the devEUI of the device’s data through the codec? Having the devEUI would be useful for the case where you would like to add additional metadata to the object based on the devEUI.

Came across this post here that asks a simiar question: