Bug 12107 – Add ability to use dynamic array for `std.stdio.File.byChunk` as return type for chunk

Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-08T06:33:00Z
Last change time
2015-06-09T01:31:23Z
Assigned to
nobody
Creator
ilya-stromberg-2009

Comments

Comment #0 by ilya-stromberg-2009 — 2014-02-08T06:33:38Z
It can be useful for many cases. For example, it allows to avoid unnecessary chunk copy if I already have a buffer. As little bonus, it lets to use `std.allocator` for memory allocation.
Comment #1 by nick — 2014-02-24T08:32:32Z
I think this is the same as bug 4859.
Comment #2 by monarchdodra — 2014-02-24T10:27:24Z
Yeah, Andrei resolved this (4859) for 2.065. You should try the beta, and confirm it's what you want. I'll close this as resolved duplicate, but feel free to reopen if it's not what you wanted. *** This issue has been marked as a duplicate of issue 4859 ***