Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bio.readto and EOF


On Fri, Mar 15, 2019 at 07:37:50PM -0700, Ori Bernstein wrote:
> 
> Also, while I'm thinking of it -- do you have examples of the code you're
> writing where you care? While this is probably the right solution, it's
> worth my time to see if there's an API that would solve the problem more
> conveniently.
> 

An example from what I'm working on currently (still a WIP):
https://gist.github.com/moreais/142c1b3583622241abfe9c3dc165bb48#file-x-myr-L299

Currently it just accepts the file ending before the terminator.


--
Carlin

References:
bio.readto and EOFCarlin Bingham <cb@xxxxxxxxxxxx>
Re: bio.readto and EOFOri Bernstein <ori@xxxxxxxxxxxxxx>
Re: bio.readto and EOFOri Bernstein <ori@xxxxxxxxxxxxxx>