public CycVariable readCompleteVariable()
          throws IOException {
    final Integer hlVariableId = (Integer) readObject();
    final String name = (String) readObject();
    CycVariable cycVariable = new CycVariable(name, hlVariableId);
    if (trace == API_TRACE_DETAILED) {
      debugNote("readVariable: " + cycVariable.toString());
    }

    return cycVariable;
  }