Article View: news.software.nntp
Article #58045Re: A better way to post binaries
From: Joe Feser
Date: Tue, 09 Apr 2002 18:42
Date: Tue, 09 Apr 2002 18:42
37 lines
2914 bytes
2914 bytes
> I admit that I was completely unaware of the needs for "stream > encoding" during the design of yEnc. And AFAIR this is the very > first time (since July 2001) that someone raised this issue. > > -- > Juergen > I would call it the second time. It was one of the issues I brought up when we were emailing back and forth. My component has an interface for RawStream Encoding and MessageStream Encoding. For Stream encoding, I just allow the person to pass in two streams, input and output. What then do with the stream is up to them. I use it to pass data over the wire, sort of like a Base64 encoding. Given any steam that is passed in and the size of the parts the person wants, I know how many parts are required to encode the message. Then two methods are exposed to allow you to get a parts Raw Stream or a Stream that has the correct ybegin ypart yend information appended to it. This is very useful if you are creating messages with streams, you can pass in your message stream, tell it to append a part to the end of it, and go on your way. It's pretty efficient on memory. Joe
Technical Details
Message-ID:
<HCGs8.64283$l7.5542770@bin7.nnrp.aus1.giganews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin7.nnrp.aus1.giganews.com.POSTED!not-for-mailReferences:
<1017777829.201228@ok-corral.gunslinger.net> <a8m05q$t53tq$1@ID-26705.news.dfncis.de> <1018133305.356462@ok-corral.gunslinger.net> <060420022326598175%planb@newsreaders.com> <1018166203.925720@ok-corral.gunslinger.net> <56d0bukskavpoth88fjftep9pql8jil409@4ax.com> <08489.842205@archiver.winews.net> <ane4bu47ckcgcs6qhrofrstdunnrn60777@4ax.com> <32486.942203@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <HCGs8.64283$l7.5542770@bin7.nnrp.aus1.giganews.com> Subject: Re: A better way to post binaries Date: Tue, 09 Apr 2002 18:42:47 GMT From: "Joe Feser" <nntp@fesersoft.com> References: <1017777829.201228@ok-corral.gunslinger.net> <a8m05q$t53tq$1@ID-26705.news.dfncis.de> <1018133305.356462@ok-corral.gunslinger.net> <060420022326598175%planb@newsreaders.com> <1018166203.925720@ok-corral.gunslinger.net> <56d0bukskavpoth88fjftep9pql8jil409@4ax.com> <08489.842205@archiver.winews.net> <ane4bu47ckcgcs6qhrofrstdunnrn60777@4ax.com> <32486.942203@archiver.winews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin7.nnrp.aus1.giganews.com.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 36 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Date: Tue, 09 Apr 2002 13:42:47 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-a3Nel3NSgxflyMiWLCgm3vlsaA37Nru7sjRKBJ0hGz9hB8zegAbwHhZf4npM/JV+ugeobmDTMIqJoPw!735HXbhDcZSN5zFo0LeZhS+NJYfB3ZZoDcV4lNFOCf+BG8kNo/6Ns4gK1JpcHybA4jSWjEC42vD7!TG4= X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly