private static void writeKey(@NotNull DataOutput out, EKey key) throws IOException {
      out.write(key.member.hashed().asBytes());
      int rawDirKey = key.negated ? -key.dirKey : key.dirKey;
      DataInputOutputUtil.writeINT(out, rawDirKey);
      out.writeBoolean(key.stable);
    }
private static void writeKey(@NotNull DataOutput out, EKey key)