MonobjcMonobjc Documented Class Library
StringWithUTF8String Method (bytes)

Returns a string created by copying the data from a given C array of UTF8-encoded bytes.

Original signature is '+ (id)stringWithUTF8String:(const char *)bytes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSString StringWithUTF8String(
	string bytes
Public Shared Function StringWithUTF8String ( _
	bytes As String _
) As NSString
static NSString^ StringWithUTF8String(
	String^ bytes
bytes (String)
A NULL-terminated C array of bytes in UTF8 encoding.
Return Value
A string created by copying the data from bytes.
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)