MonobjcMonobjc Documented Class Library
GetBytesRange Method (buffer, range)
NamespacesMonobjc.FoundationNSDataGetBytesRange(IntPtr, NSRange)

Copies a range of bytes from the receiver’s data into a given buffer.

Original signature is '- (void)getBytes:(void *)buffer range:(NSRange)range'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetBytesRange(
	IntPtr buffer,
	NSRange range
)
Public Overridable Sub GetBytesRange ( _
	buffer As IntPtr, _
	range As NSRange _
)
public:
virtual void GetBytesRange(
	IntPtr buffer, 
	NSRange range
)
Parameters
buffer (IntPtr)
A buffer into which to copy data.
range (NSRange)
The range of bytes in the receiver's data to copy to buffer. The range must lie within the range of bytes of the receiver's data.
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)