BerConverter.Decode(String, Byte[]) メソッド

定義

Decode(String, Byte[])メソッドは、BER を使用してデータのバイナリ表現をデコードして、構造化データを取得します。

public:
 static cli::array <System::Object ^> ^ Decode(System::String ^ format, cli::array <System::Byte> ^ value);
public static object[] Decode(string format, byte[] value);
static member Decode : string * byte[] -> obj[]
Public Shared Function Decode (format As String, value As Byte()) As Object()

パラメーター

format
String

書式指定文字列。

value
Byte[]

BER データの配列。

返品

Object[]

デコードされたデータ。

例外

format パラメーターには null 参照が含まれています (Visual Basic ではNothing)。

format パラメーターには未定義の文字が含まれています。

基になるデコードが失敗します。 デコード規則には、次のものが含まれます。

コード 対応する結果
'{' '}' '[' ']' 'n' 'x' 対応する結果はありません
'i' 'e' int
'b' bool
'a' string
'O' byte[]
'B' ビット文字列を含む byte[]
'v' string[]
'V' byte[][]

適用対象