Språk

NSCoder.DecodeBytes Metod

Definition

Överlagringar

Name Description
DecodeBytes()

Avkodar nästa objekt som en matris med byte.

DecodeBytes(String)

Avkodar den begärda nyckeln som en matris med byte.

DecodeBytes(UIntPtr)
DecodeBytes(UIntPtr)

Låg nivå: avkodar nästa objekt till ett minnesblock och returnerar en pekare till det.

DecodeBytes(String, UIntPtr)
DecodeBytes(String, UIntPtr)

Låg nivå: avkodar objektet med den associerade nyckeln till ett minnesblock och returnerar en pekare till det.

DecodeBytes()

Avkodar nästa objekt som en matris med byte.

public byte[] DecodeBytes();
public byte[]? DecodeBytes();
member this.DecodeBytes : unit -> byte[]

Returer

Byte[]

Matrisen med byte som avkodas från strömmen.

Kommentarer

Den avkodade matrisen med byte.

Gäller för

DecodeBytes(String)

Avkodar den begärda nyckeln som en matris med byte.

public byte[] DecodeBytes(string key);
public byte[]? DecodeBytes(string key);
member this.DecodeBytes : string -> byte[]

Parametrar

key
String

Nyckeln som identifierar objektet som ska avkodas.

Returer

Byte[]

Den avkodade matrisen med byte.

Gäller för

DecodeBytes(UIntPtr)

[Foundation.Export("decodeBytesWithMinimumLength:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr DecodeBytes(UIntPtr minimumLength);
[<Foundation.Export("decodeBytesWithMinimumLength:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeBytes : unativeint -> nativeint
override this.DecodeBytes : unativeint -> nativeint

Parametrar

minimumLength
UIntPtr

unativeint

Returer

IntPtr

nativeint

Attribut

Gäller för

DecodeBytes(UIntPtr)

Låg nivå: avkodar nästa objekt till ett minnesblock och returnerar en pekare till det.

[Foundation.Export("decodeBytesWithReturnedLength:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr DecodeBytes(out UIntPtr length);
[<Foundation.Export("decodeBytesWithReturnedLength:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeBytes : unativeint -> nativeint
override this.DecodeBytes : unativeint -> nativeint

Parametrar

length
UIntPtr

unativeint

Antal byte i det returnerade blocket.

Returer

IntPtr

nativeint

Pekare till det minnesblock som innehåller minst det antal byte som angetts för längdparametern.

Attribut

Gäller för

DecodeBytes(String, UIntPtr)

[Foundation.Export("decodeBytesForKey:minimumLength:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr DecodeBytes(string key, UIntPtr minimumLength);
[<Foundation.Export("decodeBytesForKey:minimumLength:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeBytes : string * unativeint -> nativeint
override this.DecodeBytes : string * unativeint -> nativeint

Parametrar

key
String
minimumLength
UIntPtr

unativeint

Returer

IntPtr

nativeint

Attribut

Gäller för

DecodeBytes(String, UIntPtr)

Låg nivå: avkodar objektet med den associerade nyckeln till ett minnesblock och returnerar en pekare till det.

[Foundation.Export("decodeBytesForKey:returnedLength:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr DecodeBytes(string key, out UIntPtr length);
[<Foundation.Export("decodeBytesForKey:returnedLength:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeBytes : string * unativeint -> nativeint
override this.DecodeBytes : string * unativeint -> nativeint

Parametrar

key
String

Nyckeln som identifierar objektet som ska avkodas.

length
UIntPtr

unativeint

Antal byte i det returnerade blocket.

Returer

IntPtr

nativeint

Pekare till det minnesblock som innehåller minst det antal byte som angetts för längdparametern.

Attribut

Gäller för