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

GetMemory and GetSpan should mention non-zero inited buffers

Open BrennanConroy opened this issue 10 months ago • 2 comments

Type of issue

Missing information

Description

PipeWriter.GetMemory and PipeWriter.GetSpan should explicitly call out that they do not guarantee returning buffers that have been cleared.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.pipelines.pipewriter?view=net-9.0

Content source URL

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

Document Version Independent Id

4bb0d319-3f73-2acb-4044-a6b85840e0e4

Article author

@dotnet-bot

BrennanConroy avatar Jan 16 '25 23:01 BrennanConroy

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ghost avatar Jan 16 '25 23:01 ghost

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

ghost avatar Jan 16 '25 23:01 ghost