public static void writeStringArray(@NotNull StubOutputStream dataStream, String @NotNull [] array) throws IOException {
    writeSeq(dataStream, Arrays.asList(array), dataStream::writeName);
  }
public static void writeStringArray(@NotNull StubOutputStream dataStream, String @NotNull [] array)