|
From: | Fred Kiefer |
Subject: | Re: FILE* interface to NSString or NSData? |
Date: | Mon, 19 Mar 2007 21:33:55 +0100 |
User-agent: | Thunderbird 1.5.0.10 (X11/20060911) |
The class you are asking for is NSStream plus its subclasses NSInputStream and NSOutputStream. Michael Hopkins wrote: > > 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' > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > > > > > > _______________________________________________ > Gnustep-dev mailing list > address@hidden > http://lists.gnu.org/mailman/listinfo/gnustep-dev >
[Prev in Thread] | Current Thread | [Next in Thread] |