- - PR -
データ処理について
1
投稿者 | 投稿内容 |
---|---|
|
投稿日時: 2009-02-11 02:23
順次受信するデータを受信完了前に取り出す方法がわかりません。
const int bufferLen = 4096; byte[] buffer = new byte[bufferLen]; int count = 0; int bytecount = 0; stream streamdata = WCFで取得 while ((count = streamdata.Read(buffer, 0, bufferLen)) > 0) { bytecount += count; } 解決しました。すいません [ メッセージ編集済み 編集者: 未記入 編集日時 2009-02-12 11:34 ] |
1