All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tinker.net.dongliu.apk.parser.struct.resource.LibraryHeader Maven / Gradle / Ivy

The newest version!
package tinker.net.dongliu.apk.parser.struct.resource;

import tinker.net.dongliu.apk.parser.struct.ChunkHeader;

/**
 * Table library chunk header
 *
 * @author Liu Dong
 */
public class LibraryHeader extends ChunkHeader {

    /**
     * A package-id to package name mapping for any shared libraries used
     * in this resource table. The package-id's encoded in this resource
     * table may be different than the id's assigned at runtime. We must
     * be able to translate the package-id's based on the package name.
     */

    /**
     * uint32 value, The number of shared libraries linked in this resource table.
     */
    private long count;

    public LibraryHeader(int chunkType, int headerSize, long chunkSize) {
        super(chunkType, headerSize, chunkSize);
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy