code: public String ENgetlinkid( int index ) throws EpanetException {
          ByteBuffer bb = ByteBuffer.allocate(64);
          int errcode = epanet.ENgetlinkid(index, bb);
          checkError(errcode);
  
          String label;
          label = byteBuffer2String(bb);
          return label;
      }
docs: Retrieves the ID label of a link with a specified index.
  
  @param index link index.
  @return the link label.
  @throws EpanetException