def avro_hexlify(reader):
 bytes = []
 current_byte = reader.read(1)
 bytes.append(hexlify(current_byte))
 while ((ord(current_byte) & 128) != 0):
  current_byte = reader.read(1)
  bytes.append(hexlify(current_byte))
 return ' '.join(bytes)

def avro_hexlify ( reader ) : bytes = [ ] current_byte = reader . read ( 1 ) bytes . append ( hexlify ( current_byte ) ) while ( ( ord ( current_byte ) & 128 ) != 0 ) : current_byte = reader . read ( 1 ) bytes . append ( hexlify ( current_byte ) ) return ' ' . join ( bytes )
return the hex value .