|
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
|
After almost three years, I doubt if Syabas will fix their player to stop using the crazy range requests in the face of a live stream. In fact, why they incur the http request response overhead even in the face of a seekable stream, when they could just...
Answer Snippets (Read the full thread at networkedmediatank):
They....
Nothing.
Fake-large-size, no Size, Ignore byte-range, Unsupport Byte-range etc.
But forcing PCH to stream has not been something I have managed to pull off reliably .
I wrote the "unmms" plug it to work the same way as "unrar" does to MMS streams .
|
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 .
|
|
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.. .
|
|
Hi,
Could someone please advise me as to which is the correct safe way
to uninstall and do a complete fresh install of Perl for OSX 10.4.11.
I've spent the last 4 days trying to get a program called get_iplayer to
run on my Mac but is appears that I...
Started by i.cue@dsl.pipex.com on
, 19 posts
by 7 people.
Answer Snippets (Read the full thread at omgili):
Use IO::Seekable;
use IO::Socket;
use LWP::ConnCache;
use LWP::UserAgent;
use POSIX qw(mkfifo);
use.
|
|
Sometime after play or pause a video, smplayer freezes and here's the log:
Code: /usr/bin/mplayer -noquiet -nofs -nomouseinput -vc ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau, -sub-fuzziness 1 -identify -slave -vo vdpau -ao alsa -nokeepaspect -framedrop...
Started by bbb13 on
, 6 posts
by 3 people.
Answer Snippets (Read the full thread at ubuntuforums):
AUDIO_NCH=6 ID_START_TIME=0.00 ID_LENGTH=6215.09 ID_SEEKABLE=1 ID_CHAPTERS=12 Opening video filter.
|
|
Hi, I have a problem where I get an int as input at the wrong time in my c++ program, so I need to "put it back" on cin later. However the closest thing I can find to do this is the pushback function for istreams. This sadly is only for characters and...
Started by William on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Along with the comment, I'd add that you.
Unfortunately, this won't work for non-seekable streams (such as a pipe or human input).
If you are using a seekable input (such as a file), you can use seekg .
|