Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

[Fix later] Dirty workaround for reading byte-wise #2

Open
Chris1221 opened this issue Nov 16, 2016 · 0 comments
Open

[Fix later] Dirty workaround for reading byte-wise #2

Chris1221 opened this issue Nov 16, 2016 · 0 comments

Comments

@Chris1221
Copy link
Owner

This is currently working

        char c;

        while (in.get(c)) {

//              char c;
//              in.get(c);

But it's very dirty. Kind of like an analogue to while( in >> c); which does not work. This prevents the duplicated last byte, but at what cost? Come back to this at a later point and make sure it's safe.

Chris1221 added a commit that referenced this issue Nov 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant