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

def decode_network_string ( msgtype , plen , buf ) : return buf [ header . size : ( plen - 1 ) ]
decodes a string from collectd network format .