NSCoder.DecodeBytes Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| DecodeBytes() |
Descodifica el siguiente elemento como una matriz de bytes. |
| DecodeBytes(String) |
Descodifica la clave solicitada como una matriz de bytes. |
| DecodeBytes(UIntPtr) | |
| DecodeBytes(UIntPtr) |
Bajo nivel: descodifica el siguiente elemento en un bloque de memoria y devuelve un puntero a él. |
| DecodeBytes(String, UIntPtr) | |
| DecodeBytes(String, UIntPtr) |
Bajo nivel: descodifica el elemento con la clave asociada en un bloque de memoria y devuelve un puntero a él. |
DecodeBytes()
Descodifica el siguiente elemento como una matriz de bytes.
public byte[] DecodeBytes();
public byte[]? DecodeBytes();
member this.DecodeBytes : unit -> byte[]
Devoluciones
Matriz de bytes descodificados de la secuencia.
Comentarios
Matriz descodificada de bytes.
Se aplica a
DecodeBytes(String)
Descodifica la clave solicitada como una matriz de bytes.
public byte[] DecodeBytes(string key);
public byte[]? DecodeBytes(string key);
member this.DecodeBytes : string -> byte[]
Parámetros
- key
- String
Clave que identifica el elemento que se va a descodificar.
Devoluciones
Matriz descodificada de bytes.
Se aplica 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
Parámetros
- minimumLength
-
UIntPtr
unativeint
Devoluciones
nativeint
- Atributos
Se aplica a
DecodeBytes(UIntPtr)
Bajo nivel: descodifica el siguiente elemento en un bloque de memoria y devuelve un puntero a él.
[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
Parámetros
- length
-
UIntPtr
unativeint
Número de bytes en el bloque devuelto.
Devoluciones
nativeint
Puntero al bloque de memoria que contiene al menos el número de bytes establecidos en el parámetro length.
- Atributos
Se aplica 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
Parámetros
- key
- String
- minimumLength
-
UIntPtr
unativeint
Devoluciones
nativeint
- Atributos
Se aplica a
DecodeBytes(String, UIntPtr)
Bajo nivel: descodifica el elemento con la clave asociada en un bloque de memoria y devuelve un puntero a él.
[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
Parámetros
- key
- String
Clave que identifica el elemento que se va a descodificar.
- length
-
UIntPtr
unativeint
Número de bytes en el bloque devuelto.
Devoluciones
nativeint
Puntero al bloque de memoria que contiene al menos el número de bytes establecidos en el parámetro length.
- Atributos