MemoryStream.Write,想当然了...

public override void Write (
byte[] buffer,
int offset,
int count
)
;
原来第二个参数offset的意义是The byte offset in buffer at which to begin writing from.
我还以为是指的是在MS的哪个位置开始写数据呢,浪费了半天时间.

posted on 2007-07-20 11:07  deerchao  阅读(1732)  评论(0编辑  收藏  举报