|
Does anybody know a seekable alternative to .NET's CryptoStream?
It is OK if the alternative supports Seek only in "read" mode or if it is limited to e.g. AES256.
Started by Stefan Schultze on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Encrypting blocks separately - and that's highly unrecommended - ... .
I think such an implementation would not be very useful, as Seek operations can only be performed in (relatively, depending on the algorithm) constant time with ECB-style chaining, i.e .
|
|
I'm looking for a general compression library that supports random access during decompression. I want to compress wikipedia into a single compressed format and at the same time I want to decompress/extract individual articles from it.
Of course, I can...
Started by Wu Yongzheng on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The CPU.
Managed by the OS? Then you would have the "seekable" portion as well as the compression.
|
|
Hi all,
I'm facing problems with the design of a C++ library of mine. It is a library for reading streams that support a feature I haven't found on other "stream" implementations. It is not really important why I've decided to start writing it. The point...
Started by n2liquid on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Class shareable....
Assuming both Seekable and Shareable have common ancestor):
void foo(Stream *s) { assert(s != NULL); assert(dynamic_cast<Seekable*>(s) != NULL); assert guarantee will compile).
You might want the Decorator pattern.
|
Ask your Facebook Friends
|
Not too many sites are still using that.
The url is:
http://streamer3.carnation.hu/mtvod2...opdalinket.wmv
I am trying
Code: $ mplayer -dumpstream http://streamer3.carnation.hu/mtvod2/eurovizio/2012/01/28/adal_20120128_nelopdalinket.wmv -dumpfile /local...
Started by n.p. on
, 6 posts
by 3 people.
Answer Snippets (Read the full thread at stream-recorder):
DL URL....
Protocol[RTSP(MS)] is used.
Use GetASFStream :
Code: GetASFStream[Ver 2.2.0.6e] START:[2012/02/01 11:53:36] <<<<<<<<<< START:[2012/02/01 11:53:56] >>>>>>>>>> Under protocol reference.. .
|
|
On Fri, 24 Jul 2009 07:59:09 -0600, "John Keenan" <john.removeme.keenan@optimapowerware.com
reference a position in there.
The input stream I wish to copy will always be seekable.
suggestions.
I am modifying a language parser. I would like to...
Started by John Keenan on
, 5 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
Istream,
ifstream and istrstream are already classes....
On Sat, 25 Jul 2009 15:31:07 -0500, Scot T Brennecke <ScotB@Spamhater.MVPs.org
Ah, now it's clear that the "input stream" you mean is the basic_istream type provided in the Standard C++ Library .
|
Will a large System.IO.MemoryStream result in my application's memory usage increasing dramatically?
I am building a library that allows a user to download files from a URL. One of the options I am considering is letting the user specify the expected MD5 checksum for the file; the library's GetFile(string url) function ensures that the checksum for the...
Answer Snippets (Read the full thread at stackoverflow):
If you get an exception, well, there you go.
If you can read the whole thing, then you should be fine .
Easy way to try is try to read a DVD ISO image or something into memory using a memory stream .
I'm pretty sure you'll get an OutOfMemoryException.
|
|
I'm running into problems using AWT classes on OSX (10.5.8) with Java 6 (1.6.0_17 JVM: 14.3-b01-101). Trying to load java.awt.Dimension the code just freezes, this happens in Eclipse or from the command line. Anyone experiencing same problems ? The class...
Started by talg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
See the discussion....
Are you using the Cocoa version of Eclipse? (vs Carbon) If so, that may be the cause .
You might try setting the "-Djava.awt.headless=true" flag from the command line, which will allow AWT classes to run without having to initialize a GUI .
|
|
I'm trying to play a DVD on Ubuntu 9.04. I've played DVDs on this machine before, but not with this OS. I've read this page , and libdvdread4 and libdvdcss2 are both installed:
$ dpkg -l libdvdread4 libdvdcss2 Desired=Unknown/Install/Remove/Purge/Hold...
Started by Ken on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
If....
Did you try installing VLC and run the DVD's with that program?
Since you are able to read other DVDs with the same software, I'd expect the problem with that particular disc is either a) a bug in libdvdcss, or b) a problem with that specific disc .
|
|
On Fri, 23 Oct 2009 13:15:33 -0400, "Moore, Mathew L" <MooreML@BATTELLE.ORG
Hello all,
A newbie here. I was wondering why the following fails on Python 2.6.2 (r262:71605) on win32. Am I doing something inappropriate?
Interestingly, it works ...
Started by Mathew L on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
I think the issue is essentially that StringIO....
On Wed, 28 Oct 2009 17:33:10 -0700 (PDT), ryles <rylesny@gmail.com
On Oct 23, 1:15 pm, "Moore, Mathew L" <Moor...@BATTELLE.ORG
It should hopefully work if you use cStringIO/StringIO instead of
BytesIO .
|
|
On Tue, 18 Nov 2008 23:15:40 +0100, Lénaïc Huard <lenaic.huard@laposte.net
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
For some reasons, somewhere in a program, I'd like, if possible, to quickly
parse a whole file before rewinding...
Started by Lénaïc Huard on
, 16 posts
by 11 people.
Answer Snippets (Read the full thread at omgili):
Load it in memory once....
Well that's a bad thing, if you want truly meaningful results you
should enforce just one mode, binary or text .
On Nov 19, 12:15 am, Lénaïc Huard <lenaic.hu...@laposte.net
Please don't include that crap in your messages.. .
|