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的哪个位置开始写数据呢,浪费了半天时间.
Be and aware of who you are.
public override void Write (;
byte[] buffer,
int offset,
int count
)