Allow access to the packet object

I'm trying to use some field packet information in my custom "typeCast" function, but right now the Field object don't have access to it.

"RowDataPacket.prototype._typeCast" function have access to it, and I need to check the field "charsetNr" property in my custom "typeCast" function but I can't because I don't have access to it.