What are the advantages/disadvantages of overriding Write instead of Close on the Filter Stream that does filt开发者_如何转开发ering in an HttpModule?
I assume you would want to use Write because the memory used by the buffer is smaller than using the entire byte array during Close. Are there other reasons not to do manipulation in Close?
精彩评论