NSCoder.DecodeBytes Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
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
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
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
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
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
nativeint
Puntatore al blocco di memoria che contiene almeno il numero di byte impostati nel parametro length.
- Attributi