([MemoryStream -initWithCapacity:prefix:]): New method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1118 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-03-12 19:40:30 +00:00
parent a4b570cbf2
commit 1edac6f126

View file

@ -95,6 +95,14 @@ static BOOL debug_memory_stream = NO;
prefix:p position:i]; prefix:p position:i];
} }
- initWithCapacity: (unsigned)capacity
prefix: (unsigned)p
{
return [self initWithSize: capacity
prefix: p
position: 0];
}
- initWithCapacity: (unsigned)capacity - initWithCapacity: (unsigned)capacity
{ {
return [self initWithSize:capacity prefix:0 position:0]; return [self initWithSize:capacity prefix:0 position:0];