BerConverter.Decode(String, Byte[]) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 データの配列。
返品
デコードされたデータ。
例外
format パラメーターには null 参照が含まれています (Visual Basic ではNothing)。
format パラメーターには未定義の文字が含まれています。
基になるデコードが失敗します。 デコード規則には、次のものが含まれます。
| コード | 対応する結果 |
|---|---|
| '{' '}' '[' ']' 'n' 'x' | 対応する結果はありません |
| 'i' 'e' | int |
| 'b' | bool |
| 'a' | string |
| 'O' | byte[] |
| 'B' | ビット文字列を含む byte[] |
| 'v' | string[] |
| 'V' | byte[][] |