Skip to content

Use ReadAtLeast(Async) #1367

Open
Open
@bgrainger

Description

For most reads, the desired length is known (4 bytes for packet header, or len bytes for packet content).

Consider using ReadAtLeast(Async) on newer frameworks to specify the desired amount to read. Note that this would need to be simulated in SocketByteHandler since Socket doesn't have an AtLeast API.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions