Skip to content

reading the uncompressed size from the header #14

@rBirde

Description

@rBirde

Thank you very much for providing this quite useful library. I am writing an Android program in which I need to decompress random lzo files. I am reading the uncompressed byte arrays from lzo files using LzopInputstream for the files that I know the size of the uncompressed byte array. I am wondering if you know the header structure or how could the uncompressed size be read from the header of an lzo file? I know it should be written in the header file because using "lzop --info filename" on Ubuntu returns some info about the file one of which is the uncompressed size.
If the uncompressed size could be read from the header in Java, then the program could decompress any lzo file without the user knowing the uncompressed size of the file.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions