NSCoder.DecodeBytes メソッド

定義

オーバーロード

名前 説明
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[]

返品

Byte[]

ストリームからデコードされたバイトの配列。

注釈

デコードされたバイト配列。

適用対象

DecodeBytes(String)

要求されたキーをバイト配列としてデコードします。

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

パラメーター

key
String

デコードする項目を識別するキー。

返品

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

返品

IntPtr

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

返されたブロック内のバイト数。

返品

IntPtr

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

返品

IntPtr

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

返されたブロック内のバイト数。

返品

IntPtr

nativeint

長さパラメーターに設定されたバイト数以上を含むメモリ ブロックへのポインター。

属性

適用対象