docs: private void writeImport(SymbolTable symTab)
      {
          assert symTab.isSharedTable();
  
          final int originalOffset = myBuffer.length - myOffset;
  
          // Write the maxId as int
          int maxId = symTab.getMaxId();
          if (maxId == 0) {
              writeByte((byte) TYPE_POS_INT);
          } else {
              writeUInt(maxId);
              writePrefix(TYPE_POS_INT,
                          myBuffer.length - myOffset - originalOffset);
          }
  
          // Write the "max_id" field name
          writeByte((byte) (0x80 | MAX_ID_SID));
  
          final int maxIdOffset = myBuffer.length - myOffset;
  
          // Write the version as int (version will be at least one)
          int version = symTab.getVersion();
          writeUInt(version);
          writePrefix(TYPE_POS_INT, myBuffer.length - myOffset - maxIdOffset);
  
          // Write the "version" field name
          writeByte((byte) (0x80 | VERSION_SID));
  
          // Write the name as string
          String name = symTab.getName();
          writeIonStringContent(name);
  
          // Write the "name" field name
          writeByte((byte) (0x80 | NAME_SID));
  
          // Write the struct prefix
          writePrefix(TYPE_STRUCT, myBuffer.length - myOffset - originalOffset);
      }