Share via


NSCoder.DecodeValue Method

Definition

Overloads

Name Description
DecodeValue(Type, Span<Byte>)

Decode a single value of the specified type into the provided data buffer.

DecodeValue(IntPtr, IntPtr, UIntPtr)

DecodeValue(Type, Span<Byte>)

Decode a single value of the specified type into the provided data buffer.

public void DecodeValue(Type type, Span<byte> data);
member this.DecodeValue : Type * Span<byte> -> unit

Parameters

type
Type

The type of the value to decode.

data
Span<Byte>

The buffer to store the decoded value. The buffer must be big enough to hold the decoded value.

Applies to

DecodeValue(IntPtr, IntPtr, UIntPtr)

[Foundation.Export("decodeValueOfObjCType:at:size:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DecodeValue(IntPtr objCTypeCode, IntPtr data, UIntPtr size);
[<Foundation.Export("decodeValueOfObjCType:at:size:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeValue : nativeint * nativeint * unativeint -> unit
override this.DecodeValue : nativeint * nativeint * unativeint -> unit

Parameters

objCTypeCode
IntPtr

nativeint

data
IntPtr

nativeint

size
UIntPtr

unativeint

Attributes

Applies to