You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Mingshen Sun <no...@github.com> on 2020/06/27 21:24:00 UTC

Re: [apache/incubator-teaclave] Read/write files as small chunks (#349) (80fe5e9)

You can use `while` to simplify the code. E.g.,
```
while content.read() > 0 {
}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/commit/80fe5e9b78f3d5a023a07f9b44cabf4bd994a919#commitcomment-40212566