MonobjcMonobjc Documented Class Library
NSMutableString Constructor (bytes, length, encoding)
NamespacesMonobjc.FoundationNSMutableStringNSMutableString(IntPtr, NSUInteger, NSStringEncoding)

Returns an initialized NSString object containing a given number of bytes from a given buffer of bytes interpreted in a given encoding.

Original signature is '- (id)initWithBytes:(const void *)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSMutableString(
	IntPtr bytes,
	NSUInteger length,
	NSStringEncoding encoding
)
Public Sub New ( _
	bytes As IntPtr, _
	length As NSUInteger, _
	encoding As NSStringEncoding _
)
public:
NSMutableString(
	IntPtr bytes, 
	NSUInteger length, 
	NSStringEncoding encoding
)
Parameters
bytes (IntPtr)
A buffer of bytes interpreted in the encoding specified by encoding.
length (NSUInteger)
The number of bytes to use from bytes.
encoding (NSStringEncoding)
The character encoding applied to bytes.
Return Value
An initialized NSString object containing length bytes from bytes interpreted using the encoding encoding. The returned object may be different from the original receiver.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)