Functions -
internal
compress | Compresses a directory. |
compressToByteArray | Compresses a directory into a byte array. |
contains | |
decompress | Decompresses a compressed file. |
decompressFromByteArray | Decompresses a byte array into a directory. |
equalsIgnoreCase | |
hasPrefix | |
hasSuffix | |
hashCode | |
lastIndexOf | |
matches | |
replace | |
replaceAll | |
replaceFirst | |
split | |
toBoolean | |
toByteArray | |
unescape |
Compresses a directory.
Parameters
- dirPath string
-
Path of the directory to be compressed
- destDir string
-
Path of the directory to place the compressed file
-
Return Type
(error?) An error if an error occurs during the compression process
Compresses a directory into a byte array.
Parameters
- dirPath string
-
Path of the directory to be compressed
-
Return Type
(boolean)
Decompresses a compressed file.
Parameters
- dirPath string
-
Path of the compressed file
- destDir string
-
Path of the directory to decompress the file
-
Return Type
(error?) An error if an error occurs during the decompression process
Decompresses a byte array into a directory.
Parameters
- content byte[]
-
Byte array of the compressed file
- destDir string
-
Path of the directory to decompress the file
-
Return Type
(error?) An error if an error occurs during the decompression process
-
Return Type
(boolean)
-
Return Type
(boolean)
-
Return Type
(boolean)
-
Return Type
(int)
-
Return Type
(boolean)
-
Return Type
(string)
-
Return Type
(string)
-
Return Type
(string)
-
Return Type
(string[])
-
Return Type
(byte[])