# Functions
CreateBundle created a new bundle file & struct.
FATFromJSON build FAT struct from JSON string.
Fixing filepath on Windows to support longer filepath than 255 bytes.
GetFooter reads the footer from the io.Reader.
GetHeader reads the header from the io.Reader and returns a *Header struct.
HashingKey is hashing the key with CipherSettings values.
ListPack lists the FAT from the package.
NewCipherSettings created a new CipherSettings instance with default values.
NewFooter create a new Footer with default values.
NewHeader create a new Header with default values and set the encryption and compress types.
OpenBundle open an exist bundle file.
Pack bundles the files of the source directory to the target package file.
TransformPack is transform the content of file to the package (encrypt, compress).
TransformUnpack is transform back the transformed file content to the real file.
Unpack extract files from the package file.
# Constants
Compression enum constants.
Compression enum constants.
No description provided by the author
Encryption enum constants.
Encryption enum constants.
FOOTER_SIZE is the size of footer.
HEADER_SIZE is the size of the Header.
No description provided by the author
Magic bytes to identify the file format.
No description provided by the author
# Variables
No description provided by the author
# Structs
BundleFile contains all info from bundle.
BundleSettings records the settings of the bundle file.
ChiperSettings records the settings of encryption/decryption.
FAT is a structure for File-Allocation-Table in package.
FATItem is a structure for file item in FAT.
FinishResult records some information about packing or unpacking.
Footer is a struct for footer of package.
Header is the header of package.
ListResult records the result of the listing.
ListSettings records settings of the listing.
PackSettings records the settings of the packing.
ProgressState records the state of packing or unpacking.
UnpackSettings records the settings of the unpacking.