|
ROSE 2.1.0
|
Definition at line 173 of file ModulesJvm.h.
Public Member Functions | |
| Zipper (SgAsmGenericFile *gf) | |
| std::string | filename () const |
| The file name of the container. | |
| const std::vector< FileStat > & | files () const |
| Listing of file names in the container. | |
| bool | present (const std::string &name) const |
| size_t | fileSize (const std::string &name) const |
| Return uncompressed file size for file with the given name. | |
| size_t | offset (const char *file) const |
| unsigned char * | decode (const std::string &name, size_t &nbytes) |
| Decode the contents of a file in this zipped container. | |
| Zipper (const Zipper &)=delete | |
| Zipper & | operator= (const Zipper &)=delete |
| unsigned char * Rose::BinaryAnalysis::Partitioner2::ModulesJvm::Zipper::decode | ( | const std::string & | name, |
| size_t & | nbytes | ||
| ) |
Decode the contents of a file in this zipped container.
This function performs a simple string comparison and does not access the filesystem. The comparison is case-sensitive.
| name | File name to decode. |
| nbytes | Number of bytes decoded. |