Helper for LzmaLib