Skip to content

PipeReader.CopyToAsync mentions a buffer size argument that doesn't exist #10269

@sliekens

Description

@sliekens

Type of issue

Outdated article

Description

In the summary:

Asynchronously reads the bytes from the PipeReader and writes them to the specified PipeWriter, using a specified buffer size and cancellation token.

There is actually no way to control the buffer size, so I'm not sure what this summary is referring to. Perhaps this ability was removed?

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.pipelines.pipereader.copytoasync?view=net-8.0

Content source URL

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

Document Version Independent Id

4a3d650e-361e-5c95-492c-17b35752811d

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions