Check the standard compression support included with perl: Compress::Raw::Bzip2, IO::Compress::Bzip2, etc. The raw module implements buffer to buffer routines; higher level routines operate on streams. Neither wants file descriptors, which really belong to OS level of abstraction.
In reply to Re: XS filehandle/descriptor conversions and cleanup
by Anonymous Monk
in thread XS filehandle/descriptor conversions and cleanup
by jdv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |