編輯

共用方式為


NSData.GetBytes Method

Definition

Overloads

GetBytes(IntPtr, NSRange)
GetBytes(IntPtr, nuint)

GetBytes(IntPtr, NSRange)

[Foundation.Export("getBytes:range:")]
public virtual void GetBytes (IntPtr buffer, Foundation.NSRange range);
abstract member GetBytes : nativeint * Foundation.NSRange -> unit
override this.GetBytes : nativeint * Foundation.NSRange -> unit

Parameters

buffer
IntPtr

nativeint

range
NSRange
Attributes

Applies to

GetBytes(IntPtr, nuint)

[Foundation.Export("getBytes:length:")]
public virtual void GetBytes (IntPtr buffer, nuint length);
abstract member GetBytes : nativeint * nuint -> unit
override this.GetBytes : nativeint * nuint -> unit

Parameters

buffer
IntPtr

nativeint

length
System.System.UIntPtr System.unativeint
Attributes

Applies to