Using C's fread/fwrite with File objects
pineapple via Digitalmars-d-learn Thu, 22 Oct 2015 11:25:57 -0700
I'd like to use fread and fwrite in place of File.rawRead and
File.rawWrite which force the creation of an array where I'd
rather specify a buffer location and length. I'd like to do this
using a File object but the handle for the C stream is a private
member and I can't find any way to access it. Is there a getter
or something I missed, or else some way to pry private data like
this out of a class?
- Using C's fread/fwrite with File obje... pineapple via Digitalmars-d-learn
- Re: Using C's fread/fwrite with ... pineapple via Digitalmars-d-learn
- Re: Using C's fread/fwrite with ... Ali Çehreli via Digitalmars-d-learn
- Re: Using C's fread/fwrite w... pineapple via Digitalmars-d-learn
- Re: Using C's fread/fwrite with ... John Colvin via Digitalmars-d-learn