FILE* interface to NSString or NSData?
Michael Hopkins <[email protected]> Mon, 19 Mar 2007 18:52:11 +0000
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Organization | Posted via Supernews, http://www.supernews.com |
| Message-ID | <C2248C5B.25ED5%[email protected]> |
Hi all
We want to convert a C library that reads from and writes to binary FILE*
descriptors using fread() & fwrite() to do the same thing but accessing e.g.
NSString or NSData objects instead.
Is there some accepted (cross-platform safe) way of doing this using
Foundation/GNUstep-base? We have the whole compatible subset of Cocoa
Foundation and GNUstep-base available if a solution needs other classes to
be involved.
Thx - links appreciated and feel free to CC me
Michael
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ _/ _/_/_/ Hopkins Research Ltd
_/ _/ _/ _/
_/_/_/_/ _/_/_/ http://www.hopkins-research.com/
_/ _/ _/ _/
_/ _/ _/ _/ 'touch the future'
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/