[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FILE* interface to NSString or NSData?
From: |
Michael Hopkins |
Subject: |
FILE* interface to NSString or NSData? |
Date: |
Mon, 19 Mar 2007 18:52:11 +0000 |
User-agent: |
Microsoft-Entourage/11.3.3.061214 |
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'
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FILE* interface to NSString or NSData?,
Michael Hopkins <=