NSCoder.DecodeBytes メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| DecodeBytes() |
次の項目をバイト配列としてデコードします。 |
| DecodeBytes(String) |
要求されたキーをバイト配列としてデコードします。 |
| DecodeBytes(UIntPtr) | |
| DecodeBytes(UIntPtr) |
低レベル: 次の項目をメモリ ブロックにデコードし、その項目へのポインターを返します。 |
| DecodeBytes(String, UIntPtr) | |
| DecodeBytes(String, UIntPtr) |
低レベル: 関連付けられたキーを持つ項目をメモリ ブロックにデコードし、その項目へのポインターを返します。 |
DecodeBytes()
次の項目をバイト配列としてデコードします。
public byte[] DecodeBytes();
public byte[]? DecodeBytes();
member this.DecodeBytes : unit -> byte[]
返品
ストリームからデコードされたバイトの配列。
注釈
デコードされたバイト配列。
適用対象
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
パラメーター
- minimumLength
-
UIntPtr
unativeint
返品
nativeint
- 属性
適用対象
DecodeBytes(UIntPtr)
低レベル: 次の項目をメモリ ブロックにデコードし、その項目へのポインターを返します。
[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
パラメーター
- length
-
UIntPtr
unativeint
返されたブロック内のバイト数。
返品
nativeint
長さパラメーターに設定されたバイト数以上を含むメモリ ブロックへのポインター。
- 属性
適用対象
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
パラメーター
- key
- String
- minimumLength
-
UIntPtr
unativeint
返品
nativeint
- 属性
適用対象
DecodeBytes(String, UIntPtr)
低レベル: 関連付けられたキーを持つ項目をメモリ ブロックにデコードし、その項目へのポインターを返します。
[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
パラメーター
- key
- String
デコードする項目を識別するキー。
- length
-
UIntPtr
unativeint
返されたブロック内のバイト数。
返品
nativeint
長さパラメーターに設定されたバイト数以上を含むメモリ ブロックへのポインター。
- 属性