NSCoder.DecodeBytes Metodo

Definizione

Overload

Nome Descrizione
DecodeBytes()

Decodifica l'elemento successivo come matrice di byte.

DecodeBytes(String)

Decodifica la chiave richiesta come matrice di byte.

DecodeBytes(UIntPtr)
DecodeBytes(UIntPtr)

Basso livello: decodifica l'elemento successivo in un blocco di memoria e restituisce un puntatore.

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

Basso livello: decodifica l'elemento con la chiave associata in un blocco di memoria e restituisce un puntatore.

DecodeBytes()

Decodifica l'elemento successivo come matrice di byte.

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

Valori restituiti

Byte[]

Matrice di byte decodificata dal flusso.

Commenti

Matrice decodificata di byte.

Si applica a

DecodeBytes(String)

Decodifica la chiave richiesta come matrice di byte.

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

Parametri

key
String

Chiave che identifica l'elemento da decodificare.

Valori restituiti

Byte[]

Matrice decodificata di byte.

Si applica a

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

Parametri

minimumLength
UIntPtr

unativeint

Valori restituiti

IntPtr

nativeint

Attributi

Si applica a

DecodeBytes(UIntPtr)

Basso livello: decodifica l'elemento successivo in un blocco di memoria e restituisce un puntatore.

[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

Parametri

length
UIntPtr

unativeint

Numero di byte nel blocco restituito.

Valori restituiti

IntPtr

nativeint

Puntatore al blocco di memoria che contiene almeno il numero di byte impostati nel parametro length.

Attributi

Si applica a

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

Parametri

key
String
minimumLength
UIntPtr

unativeint

Valori restituiti

IntPtr

nativeint

Attributi

Si applica a

DecodeBytes(String, UIntPtr)

Basso livello: decodifica l'elemento con la chiave associata in un blocco di memoria e restituisce un puntatore.

[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

Parametri

key
String

Chiave che identifica l'elemento da decodificare.

length
UIntPtr

unativeint

Numero di byte nel blocco restituito.

Valori restituiti

IntPtr

nativeint

Puntatore al blocco di memoria che contiene almeno il numero di byte impostati nel parametro length.

Attributi

Si applica a