def _read_next_string(data):
 (str_len,) = struct.unpack('>I', data[:4])
 return (data[4:(4 + str_len)], data[(4 + str_len):])

def _read_next_string ( data ) : ( str_len , ) = struct . unpack ( '>I' , data [ : 4 ] ) return ( data [ 4 : ( 4 + str_len ) ] , data [ ( 4 + str_len ) : ] )
retrieves the next rfc 4251 string value from the data .