MonobjcMonobjc Documented Class Library
NSMutableString Constructor (bytes)

Returns an NSString object initialized by copying the characters a given C array of UTF8-encoded bytes.

Original signature is '- (id)initWithUTF8String:(const char *)bytes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSMutableString(
	string bytes
Public Sub New ( _
	bytes As String _
	String^ bytes
bytes (String)
A NULL-terminated C array of bytes in UTF-8 encoding. This value must not be NULL.
Return Value
An NSString object initialized by copying the bytes from bytes. 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)