Skip to content

Conversation

ViveliDuCh
Copy link
Member

Correct bufferSize parameter descriptions in StreamReader and StreamWriter XML docs

  • Clarify StreamReader.bufferSize sets the internal byte buffer; StreamWriter.bufferSize sets the internal char buffer
  • Remove incorrect buffer size units and misleading references
  • Omit secondary buffer details for clarity
  • Align docs with implementation and recent runtime changes

Note that both classes allocate both buffer types, but bufferSize only directly affects one.
Documentation update in response to issue dotnet/runtime#118748 and code changes in PR dotnet/runtime#118958

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant