Skip to content

Request procedure: fd-peek #23

@jetjinser

Description

@jetjinser
(fd-peek handle amount) → (or/c string? eof)
  handle : handle?
  amount : (or/c integer? eof 'avail)

I hope that the handle can also be peeked. Unlike fd-read, which consumes data, it retains the data and can be read/peek next time.

I don't know if this makes sense, if I got anything wrong, please correct me.
Thank you for your consideration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions