TLV decoding in Logstash?

Hi,

I have an incoming data field that is TLV encoded as an ASCII Hex string, Is there an existing logstash filter or codec that I can use to unwrap this or am I looking at developing a custom filter ?

Thanks,

There's no stock plugin for this. Perhaps a codec would be more suitable than a filter?