MonobjcMonobjc Documented Class Library
GetBytesLength Method (buffer, length)
NamespacesMonobjc.FoundationNSDataGetBytesLength(IntPtr, NSUInteger)

Copies a number of bytes from the start of the receiver's data into a given buffer.

Original signature is '- (void)getBytes:(void *)buffer length:(NSUInteger)length'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetBytesLength(
	IntPtr buffer,
	NSUInteger length
)
Public Overridable Sub GetBytesLength ( _
	buffer As IntPtr, _
	length As NSUInteger _
)
public:
virtual void GetBytesLength(
	IntPtr buffer, 
	NSUInteger length
)
Parameters
buffer (IntPtr)
A buffer into which to copy data.
length (NSUInteger)
The number of bytes from the start of the receiver's data to copy 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)

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