On 2/1/18 4:36 PM, Jerry Ferris wrote:
Hello,
I'm developing a program that will either receive data from stdin or a
file, and pass it along to a function for processing. I want to place
this data into a buffer so there only has to be one version of the
function. However, since I'm new to D, I'm unsure how to go about this
in the most idiomatic way.
https://dlang.org/phobos/std_file.html#read
Then cast to ubyte[].
Thank you in advance, and I apologize if this is a very stupid question.
Not a stupid question!
-Steve