VirtualStream, SeekableReadonlyStream and MarkableForwardOnlyEventingReadStream

原创 2007年09月29日 05:02:00

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.

bias and variance在机器学习中的应用

机器学习中模型选择很重要的两个指标bias and variance ,对bias and variance 理解与折衷,通过bias and variance去学习机器学习算法问题及解决办法!!!...
  • huruzun
  • huruzun
  • 2014年11月24日 23:43
  • 5403

如何跨公众号进行微信支付(appid and openid not match)

appid and openid not match问题最近,运营发现在我们公司A公众号下授权登录的用户在微信里访问我们的H5官网时,无法进行支付,主要原因是付款时是B公众号的账户。问题描述:由于业务...

PHP中逻辑运算符and/or与||/&&的一个坑

原文地址:点击打开链接 我原来以为PHP中的 and 和 && 是一样的, 只是写法上为了可读性和美观, 事实上我错了. 这里面深藏了一个坑! 看以下代码: $bA = true; ...
  • Inite
  • Inite
  • 2017年07月02日 16:57
  • 391

Java实现对MongoDB的AND、OR和IN操作

在MongoDB的官方文档中关于Java操作的介绍,只给出了很简单的几个例子。这些例子虽然可以满足一定的需求,但是还并不是太完全。下面是我根据网页中的提示写的几个例子。        1.背景。用JU...
  • mydeman
  • mydeman
  • 2011年08月02日 01:16
  • 35753

Java实现对MongoDB的AND、OR和IN操作

在MongoDB的官方文档中关于Java操作的介绍,只给出了很简单的几个例子。这些例子虽然可以满足一定的需求,但是还并不是太完全。下面是我根据网页中的提示写的几个例子。        1.背景。用J...

DOS命令 的条件判断(与或非:and、or 、not)

DOS 命令实在是太弱,太难用了,基本的逻辑判断写起来都很费劲。一般的与或非如何解决呢? 1、非 这个有现成的,条件判断前加not,例如: C:\Users\NR>if 1==1 echo 0k 0k...

python中下划线,双下划线,首尾双下划线的区别(Difference between _, __ and __xx__ in Python)

Difference between _, __ and __xx__ in Python When learning Python many people don't really under...

DICOM医学图像处理:fo-dicom网络传输之 C-Echo and C-Store

背景: 上一篇博文对DICOM中的网络传输进行了介绍,主要参照DCMTK Wiki中的英文原文。通过对比DCMTK与fo-dicom两个开源库对DICOM标准的具体实现,对理解DICOM标准有一个更直...

linux平台设备驱动架构详解 Linux Platform Device and Driver——神文,非常详细

https://www.cnblogs.com/lifan3a/articles/5045447.html https://www.cnblogs.com/lifan3a/articles/5045...
  • STN_LCD
  • STN_LCD
  • 2017年12月07日 17:02
  • 4

《Drools7.0.0.Final规则引擎教程》番外实例篇——相同对象and List使用

前奏群组(QQ:593177274)交流中有朋友提出一个问题,怎么实现两个相同对象的插入和比较?相信很多朋友也遇到类似的问题,于是抽时间为大家写一段实例代码,后续代码会同步到GitHub中。下面简单介...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:VirtualStream, SeekableReadonlyStream and MarkableForwardOnlyEventingReadStream
举报原因:
原因补充:

(最多只允许输入30个字)