Any additions for write-to-file short program

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Nov 19 23:05:03 UTC 2021


On Fri, Nov 19, 2021 at 10:21:52PM +0000, pascal111 via Digitalmars-d-learn wrote:
[...]
> When I compiled the code after adding yours, I found this error message:
> 
> "untitled20.d:24:8: error: no property 'copy' for type 'ByChunk'
>    24 |        .copy(outputFile.lockingBinaryWriter); // copy each block
> into output file
>       |        ^
> "

import std.algorithm;


T

-- 
It is impossible to make anything foolproof because fools are so ingenious. -- Sammy


More information about the Digitalmars-d-learn mailing list