Re: [Swftools-common] Passing swf in stdin/pipe to swfdump

2012-08-26 Thread Romi Kuntsman
Isn't it possible to read from stdin into a buffer in memory, then determine it's size, and then go over the data in memory? On Sun, Aug 26, 2012 at 3:01 AM, Matthias Kramm kr...@quiss.org wrote: On Tue, Aug 07, 2012 at 03:30:20PM +0300, Romi Kuntsman rmk...@gmail.com wrote: I'm handling a

Re: [Swftools-common] Passing swf in stdin/pipe to swfdump

2012-08-25 Thread Matthias Kramm
On Tue, Aug 07, 2012 at 03:30:20PM +0300, Romi Kuntsman rmk...@gmail.com wrote: I'm handling a SWF file in memory in my program, and would like to pass the file to swfdump and read the output. How can this be done without writing it to a temporary file on disk and then passing the filename as

Re: [Swftools-common] Passing swf in stdin/pipe to swfdump

2012-08-25 Thread Lists
On Sat, 25 Aug 2012 17:01:06 -0700 Matthias Kramm kr...@quiss.org wrote: On Tue, Aug 07, 2012 at 03:30:20PM +0300, Romi Kuntsman rmk...@gmail.com wrote: I'm handling a SWF file in memory in my program, and would like to pass the file to swfdump and read the output. How can this be done

[Swftools-common] Passing swf in stdin/pipe to swfdump

2012-08-07 Thread Romi Kuntsman
Hello, I'm handling a SWF file in memory in my program, and would like to pass the file to swfdump and read the output. How can this be done without writing it to a temporary file on disk and then passing the filename as parameter, for example using a pipe or similar option? If the code