binpac to bro script types

Hi all,

I’m writing a plug-in for Bro and I’m having troubles to pass types like timestamps from binpac code to the generated bro events.

I snooped the code under src/analyzer/protocol/krb/krb-analyzer.pac to check out how they build data structures for Bro scripts and that works.

But when it comes to pass a uint[8] into a bro timestamp, I don’t know how to do it.
Any idea?

Kind regards