Lua Dumper to variable

asked Nov 08 '17

updated Nov 08 '17

Hello

I need to display additional field with raw pcap packet encoded by base64. In Lua API documentation I found Dumper.new_for_current(), but it's working only with files. Maybe there is any other function for storing this packet in a variable(I already have a base64 encoder)? Or I need extend wslua_dumper.c with this functionality?