Lenguaje

NSCoder.DecodeBytes Método

Definición

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

Byte[]

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

Byte[]

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

IntPtr

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

IntPtr

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

IntPtr

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

IntPtr

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