www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Creat Virtual files

reply siavash <novinadwordsir gmail.com> writes:
hi
While working on a lot of enhancements for emesx'es tga library 
(almost a rewrite), I was thinking on implementing a way for 
handling memory locations as files, which would make handling 
archives mush easier, since I wouldn't have to write a separate 
overload (or more) for loading files from memory every time I 
need access to a new type.
I'm thinking on making a library for it. Let me know if you want 
to add any additional functions. I'll making it under the Boost 
license, and also planning to add better binary writing and 
reading capabilities (e.g. direct reading and writing of simple 
types and certain structs).
Jan 19 2019
parent reply Paul Backus <snarwin gmail.com> writes:
On Saturday, 19 January 2019 at 08:22:00 UTC, siavash wrote:
 hi
 While working on a lot of enhancements for emesx'es tga library 
 (almost a rewrite), I was thinking on implementing a way for 
 handling memory locations as files, which would make handling 
 archives mush easier, since I wouldn't have to write a separate 
 overload (or more) for loading files from memory every time I 
 need access to a new type.
 I'm thinking on making a library for it. Let me know if you 
 want to add any additional functions. I'll making it under the 
 Boost license, and also planning to add better binary writing 
 and reading capabilities (e.g. direct reading and writing of 
 simple types and certain structs).
Take a look at the `vfile` package on dub: https://code.dlang.org/packages/vfile
Jan 19 2019
parent siavash <novinadwordsir gmail.com> writes:
http://www.rahkarenovin.com
On Saturday, 19 January 2019 at 18:18:44 UTC, Paul Backus wrote:
 On Saturday, 19 January 2019 at 08:22:00 UTC, siavash wrote:
 [...]
Take a look at the `vfile` package on dub: https://code.dlang.org/packages/vfile
Thank you very very much
Jan 20 2019