MonobjcMonobjc Documented Class Library
ReplaceBytesInRangeWithBytes Method (range, bytes)
NamespacesMonobjc.FoundationNSMutableDataReplaceBytesInRangeWithBytes(NSRange, IntPtr)

Replaces with a given set of bytes a given range within the contents of the receiver.

Original signature is '- (void)replaceBytesInRange:(NSRange)range withBytes:(const void *)bytes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ReplaceBytesInRangeWithBytes(
	NSRange range,
	IntPtr bytes
)
Public Overridable Sub ReplaceBytesInRangeWithBytes ( _
	range As NSRange, _
	bytes As IntPtr _
)
public:
virtual void ReplaceBytesInRangeWithBytes(
	NSRange range, 
	IntPtr bytes
)
Parameters
range (NSRange)
The range within the receiver's contents to replace with bytes. The range must not exceed the bounds of the receiver.
bytes (IntPtr)
The data to insert into the receiver's contents.
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)