ネイティブなバイト配列を処理する関数があるとします。 これに対して、managedなバイト配列を渡して処理させたいとします。 パフォーマンスに影響するため、1バイトずつコピーする処理は避けたいと思います。 以上の条件を実現したサンプルコードを書いてみました。 サンプルソース § Visual C++ Express 2005 Beta2で、managedコンソールアプリケーションのテンプレートでプロジェクト作成後に、以下のソースを入力します。
翻訳者より この翻訳は Ecma International で標準化された C++/CLI の日本語訳です。 個人的な愛から始めた翻訳名ので、用語や言葉の使い方が正式に書式化されたものではなく、俗に言う「俺語翻訳」となっています。 また、英語力の不足から、怪しい翻訳部分もあるので、内容的に怪しいと感じた場合には、原文を参照してください。 Ecma の Mr. Jan van den Beld から翻訳の公開許可を頂きました。 注意 Disclaimer This is a translation of the authoritative text which Ecma published here http://www.ecma-international.org/publications/standards/ECMA-372.htm. This translated document
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く