MonobjcMonobjc Documented Class Library
NSData Constructor (bytes, length)
NamespacesMonobjc.FoundationNSDataNSData(array<Byte>[]()[][], UInt32)
Initializes a new instance of the NSData class.
Declaration Syntax
C#Visual BasicVisual C++
public NSData(
	byte[] bytes,
	uint length
)
Public Sub New ( _
	bytes As Byte(), _
	length As UInteger _
)
public:
NSData(
	array<unsigned char>^ bytes, 
	unsigned int length
)
Parameters
bytes (array<Byte>[]()[][])
The bytes.
length (UInt32)
The length.
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)