NSCoder.DecodeBytes Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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
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
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
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
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
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