Idioma

NSCoder.DecodeBytes Método

Definição

Sobrecargas

Nome Descrição
DecodeBytes()

Descodifica o item seguinte como um array de bytes.

DecodeBytes(String)

Descodifica a chave solicitada como um array de bytes.

DecodeBytes(UIntPtr)
DecodeBytes(UIntPtr)

Nível baixo: decodifica o item seguinte num bloco de memória e devolve um ponteiro para ele.

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

Nível baixo: descodifica o item com a chave associada num bloco de memória e devolve um ponteiro para ele.

DecodeBytes()

Descodifica o item seguinte como um array de bytes.

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

Devoluções

Byte[]

O array de bytes decodificados a partir do fluxo.

Observações

O array decodificado de bytes.

Aplica-se a

DecodeBytes(String)

Descodifica a chave solicitada como um array de bytes.

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

Parâmetros

key
String

A chave que identifica o item a decifrar.

Devoluções

Byte[]

O array decodificado de bytes.

Aplica-se 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

Devoluções

IntPtr

nativeint

Atributos

Aplica-se a

DecodeBytes(UIntPtr)

Nível baixo: decodifica o item seguinte num bloco de memória e devolve um ponteiro para ele.

[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 no bloco devolvido.

Devoluções

IntPtr

nativeint

Apontador para o bloco de memória que contém pelo menos o número de bytes definidos no parâmetro de comprimento.

Atributos

Aplica-se 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

Devoluções

IntPtr

nativeint

Atributos

Aplica-se a

DecodeBytes(String, UIntPtr)

Nível baixo: descodifica o item com a chave associada num bloco de memória e devolve um ponteiro para ele.

[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

A chave que identifica o item a decifrar.

length
UIntPtr

unativeint

Número de bytes no bloco devolvido.

Devoluções

IntPtr

nativeint

Apontador para o bloco de memória que contém pelo menos o número de bytes definidos no parâmetro de comprimento.

Atributos

Aplica-se a