13.6.3.28. tvbrange:uncompress_zlib(name)
Given a TvbRange containing zlib compressed data, decompresses the data and returns a new TvbRange containing the uncompressed data. Since: 4.3.0
function p_xxxx_proto.dissector(tvb, pinfo, tree)
local subtree = tree:add(p_xxxx_proto, tvb:range(offset), "xxxxxxxxxx")
local compressed_data = tvb:range(40, data_length - 36)
subtree:add(f_data, compressed_data:uncompress_zlib(compressed_data:string()))