Idioma

NSCoder.DecodeBytes Método

Definição

Sobrecargas

Nome Description
DecodeBytes()

Decodifica o próximo item como uma matriz de bytes.

DecodeBytes(String)

Decodifica a chave solicitada como uma matriz de bytes.

DecodeBytes(UIntPtr)
DecodeBytes(UIntPtr)

De nível baixo: decodifica o próximo item em um bloco de memória e retorna um ponteiro para ele.

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

Nível baixo: decodifica o item com a chave associada em um bloco de memória e retorna um ponteiro para ele.

DecodeBytes()

Decodifica o próximo item como uma matriz de bytes.

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

Retornos

Byte[]

A matriz de bytes decodificados do fluxo.

Comentários

A matriz de bytes decodificada.

Aplica-se a

DecodeBytes(String)

Decodifica a chave solicitada como uma matriz 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 ser decodificado.

Retornos

Byte[]

A matriz de bytes decodificada.

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

Retornos

IntPtr

nativeint

Atributos

Aplica-se a

DecodeBytes(UIntPtr)

De nível baixo: decodifica o próximo item em um bloco de memória e retorna 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 retornado.

Retornos

IntPtr

nativeint

Ponteiro para o bloco de memória que contém pelo menos o número de bytes definido 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

Retornos

IntPtr

nativeint

Atributos

Aplica-se a

DecodeBytes(String, UIntPtr)

Nível baixo: decodifica o item com a chave associada em um bloco de memória e retorna 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 ser decodificado.

length
UIntPtr

unativeint

Número de bytes no bloco retornado.

Retornos

IntPtr

nativeint

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

Atributos

Aplica-se a