Then you're back to using unpack 'B*', ....
However, there is still no need to read the whole file into memory. The same techniques used for the byte aligned would work just the same for bit aligned once you convert the stream to asci-ized binary. I would probably chain two processes together.
Having aligned the datastream, it would then convert back to properly byte aligned binary and write 384 bytes binary packets to STDOUT.
In reply to Re^11: Out of memory problems
by BrowserUk
in thread Out of memory problems
by tperdue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |