dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

Position advancement is not mentioned

Open marabzadeh86 opened this issue 1 year ago • 2 comments

Type of issue

Missing information

Description

While the documentation for Write() mentions that a successful write advances the Position by the number of written bytes, the page that documents WriteByte() does not mention a similar behavior.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.memorystream.writebyte?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/MemoryStream.xml

Document Version Independent Id

ee6a4a0c-c5cd-1b1b-8e31-6837435bf27b

Article author

@dotnet-bot

marabzadeh86 avatar Jul 26 '24 15:07 marabzadeh86

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

May be worth looking other Streams where this is not mentioned, also on Write/Read/ReadByte. e.g: https://learn.microsoft.com/en-us/dotnet/api/system.io.bufferedstream.writebyte?view=net-8.0

jozkee avatar Jul 26 '24 15:07 jozkee