NSCoder.DecodeValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| DecodeValue(Type, Span<Byte>) |
Decode a single value of the specified |
| 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.
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