archive library

Classes

Adler32
A class to compute Adler-32 checksums.
Archive
A collection of files
ArchiveFile
A file contained in an Archive.
Bz2BitReader
Bz2BitWriter
BZip2
BZip2Decoder
Decompress bzip2 compressed data. Derived from libbzip2 (http://www.bzip.org).
BZip2Encoder
Compress data using the BZip2 format. Derived from libbzip2 (http://www.bzip.org).
Crc32
A class to compute Crc-32 checksums.
Deflate
GZipDecoder
Decompress data with the gzip format decoder.
GZipEncoder
HuffmanTable
Build huffman table from length list.
Inflate
InputStream
A buffer that can be read as a stream of bytes
InputStreamBase
MemPtr
A helper class to work with List and TypedData in a way similar to pointers in C.
OutputStream
OutputStreamBase
TarDecoder
Decode a tar formatted buffer into an Archive object.
TarEncoder
Encode an Archive object into a tar formatted buffer.
TarFile
ZipDecoder
Decode a zip formatted buffer into an Archive object.
ZipDirectory
ZipEncoder
Encode an Archive object into a Zip formatted buffer.
ZipFile
ZipFileHeader
ZLibDecoder
Decompress data with the zlib format decoder.
ZLibDecoderBase
Decompress data with the zlib format decoder.
ZLibEncoder

Constants

BIG_ENDIAN → const int
1
LITTLE_ENDIAN → const int
0

Functions

CRC32(int crc int b) int
Get the CRC-32 checksum of the given int.
createZLibDecoder() ZLibDecoderBase
getAdler32(List<int> array, [ int adler = 1 ]) int
Get the Adler-32 checksum for the given array. You can append bytes to an already computed adler checksum by specifying the previous adler value.
getCrc32(List<int> array, [ int crc = 0 ]) int
Get the CRC-32 checksum of the given array. You can append bytes to an already computed crc by specifying the previous crc value.

Exceptions / Errors

ArchiveException
An exception thrown when there was a problem in the archive library.