mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
([NSArchiver -init]): New method. (Need for it reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2318 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f15358a13
commit
ce8bc929ab
1 changed files with 7 additions and 0 deletions
|
@ -62,9 +62,16 @@ static Class NSArchiver_concrete_class;
|
|||
return self;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Archiving Data */
|
||||
|
||||
- init
|
||||
{
|
||||
return [self initForWritingWithMutableData: [[NSMutableData alloc] init]];
|
||||
}
|
||||
|
||||
+ (NSData*) archivedDataWithRootObject: (id)rootObject
|
||||
{
|
||||
id d = [[NSMutableData alloc] init];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue