code: private int getServiceNameOffset(final int servAreaOffset) {
          // if there are other services which have been written
          if (prevServiceOffset != 0) {
              return prevServiceOffset + prevServiceName.length() + BitUtil.SIZE_OF_INT + BitUtil.SIZE_OF_INT;
          }
          // else
          return servAreaOffset;
      }
docs: Method returning serviceNameOffset
  @param servAreaOffset
  @return