def decode_network_string(msgtype, plen, buf):
    return buf[header.size:plen - 1]


# Mapping of message types to decoding functions.
Decodes a string from collectd network format.
dataset/ETHPy150Open python-diamond/Diamond/src/collectors/jcollectd/collectd_network.py/decode_network_string