Returns an initialized output stream that can write to a provided buffer.
Original signature is '- (id)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity'
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Id InitToBufferCapacity( IntPtr buffer, NSUInteger capacity )
Public Overridable Function InitToBufferCapacity ( _ buffer As IntPtr, _ capacity As NSUInteger _ ) As Id
public: virtual Id^ InitToBufferCapacity( IntPtr buffer, NSUInteger capacity )
Parameters
- buffer (IntPtr)
- The buffer the output stream will write to.
- capacity (NSUInteger)
- The size of the buffer in bytes.
Return Value
An initialized output stream that can write to buffer.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)