([MemoryStream -init]): New method, otherwise naive creation dies with

NULL buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@828 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-01-26 03:09:38 +00:00
parent 3462f391c1
commit 2190ba7619

View file

@ -105,6 +105,11 @@ static BOOL debug_memory_stream = NO;
return [self initWithCapacity:s];
}
- init
{
return [self initWithCapacity: DEFAULT_MEMORY_STREAM_SIZE];
}
- (BOOL) isWritable
{
return YES;