Skip to content

Read() to buffer for specific time and then return #47

Description

@cmdpwnd

Currently Read() blocks until buf is full - or I don't understand the function correctly (honestly, let's hope so). I'm looking for a way to Read() to buf for say time.Second before Read() does return so that I can parse the data (if any) on hand rather than waiting for an infinite amount of time for a buffer to fill that might not.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions