public static void writeString(@Nullable String s, @NotNull DataOutput stream) throws IOException {
    writeCharSequence(s, stream);
  }
public static void writeString(@Nullable String s, @NotNull DataOutput stream)