NSCoder.DecodeBytes Méthode

Définition

Surcharges

Nom Description
DecodeBytes()

Décode l’élément suivant sous la forme d’un tableau d’octets.

DecodeBytes(String)

Décode la clé demandée sous la forme d’un tableau d’octets.

DecodeBytes(UIntPtr)
DecodeBytes(UIntPtr)

Bas niveau : décode l’élément suivant dans un bloc de mémoire et retourne un pointeur vers celui-ci.

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

Bas niveau : décode l’élément avec la clé associée dans un bloc de mémoire et retourne un pointeur vers celui-ci.

DecodeBytes()

Décode l’élément suivant sous la forme d’un tableau d’octets.

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

Retours

Byte[]

Tableau d’octets décodés à partir du flux.

Remarques

Tableau décodé d’octets.

S’applique à

DecodeBytes(String)

Décode la clé demandée sous la forme d’un tableau d’octets.

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

Paramètres

key
String

Clé identifiant l’élément à décoder.

Retours

Byte[]

Tableau décodé d’octets.

S’applique à

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

Paramètres

minimumLength
UIntPtr

unativeint

Retours

IntPtr

nativeint

Attributs

S’applique à

DecodeBytes(UIntPtr)

Bas niveau : décode l’élément suivant dans un bloc de mémoire et retourne un pointeur vers celui-ci.

[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

Paramètres

length
UIntPtr

unativeint

Nombre d’octets dans le bloc retourné.

Retours

IntPtr

nativeint

Pointeur vers le bloc de mémoire qui contient au moins le nombre d’octets définis sur le paramètre de longueur.

Attributs

S’applique à

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

Paramètres

key
String
minimumLength
UIntPtr

unativeint

Retours

IntPtr

nativeint

Attributs

S’applique à

DecodeBytes(String, UIntPtr)

Bas niveau : décode l’élément avec la clé associée dans un bloc de mémoire et retourne un pointeur vers celui-ci.

[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

Paramètres

key
String

Clé identifiant l’élément à décoder.

length
UIntPtr

unativeint

Nombre d’octets dans le bloc retourné.

Retours

IntPtr

nativeint

Pointeur vers le bloc de mémoire qui contient au moins le nombre d’octets définis sur le paramètre de longueur.

Attributs

S’applique à