VirtualStream, SeekableReadonlyStream and MarkableForwardOnlyEventingReadStream
来源:互联网 发布:淘宝消保金怎么交 编辑:程序博客网 时间:2024/06/13 22:53
This is interesting!
I am off projects for support these days, just bored and starting to poke Microsoft pipeline component framework for fun. It is interesting to discover that in Microsoft.BizTalk.Streaming namespace:
· They have an implementation for VirtualStream! I am always using the SDK sample one but seems like this very implementation has more functions (and I believe is more stable) than the SDK free sample. I tried to compare the two and did find some differences, although the reflector generated code might not be accurate. I then opened the Microsoft SDK sample project (ArbitoryXPathHandler), remove the VirtualStream.cs and add reference of Microsoft.Streaming. I recompile the project and everything seems fine! I didn’t try to run the sample though, I just assume it works the same way.
· They have a same implementation for ReadOnlySeekableStream as well.
· They have another one, MarkableForwardOnlyEventingReadStream, as its name implies, you can MarkPosition and ResetPosition which helps a lot! By far, I didn’t find any special use of this stream but it seems more than just markable functions, as it is just everywhere within the default flatfile, xml pipeline implementations. And I also believe they are pretty stable and memory efficient as it is used in flat file disassembler.
- VirtualStream, SeekableReadonlyStream and MarkableForwardOnlyEventingReadStream
- " and '
- $* and $@
- AND
- AND
- & and &&
- ""and ‘’
- GetMessage () and PeekMessage () and SendMessage () and PostMessage ()
- eval and $()/``and typeset and xargs
- # and #line and __FILE__ and __LINE__
- 这样的东东怎么翻译:and and and And?
- Metalearning and ...?
- .And
- between...and
- 初学and
- '&' and '*' (C++)?
- and or
- grep && and ||
- 粗谈Spring与Struts的整合——从实现的Struts的扩展点上看Spring与Struts的整合
- Arp欺骗导致局域网内机器频繁掉线
- sitemesh建立复合视图(1)
- sitemesh建立复合视图(2)
- Lucene学习笔记
- VirtualStream, SeekableReadonlyStream and MarkableForwardOnlyEventingReadStream
- map[]的正确使用:自以为是导致map的一个错误使用
- 在uclinux for bf561中使用B核(2): /dev/coreb提供的功能
- 在uclinux for bf561中使用B核(3):corebld的实现
- 在uclinux for bf561中使用B核(4):B核代码的编写
- 试验网站#1搜索引擎优化收录情况记录(断续运行)2007-9-29
- 试验网站#3搜索引擎优化收录情况记录2007-9-29
- 说说我与C语言...
- 开博第一天