archive_io library Null safety
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
- InputFileStream
- 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.
- OutputFileStream
- OutputStream
- OutputStreamBase
- TarDecoder
- Decode a tar formatted buffer into an Archive object.
- TarEncoder
- Encode an Archive object into a tar formatted buffer.
- TarFile
- TarFileEncoder
- ZipDecoder
- Decode a zip formatted buffer into an Archive object.
- ZipDirectory
- ZipEncoder
- Encode an Archive object into a Zip formatted buffer.
- ZipFile
- ZipFileEncoder
- 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.
-
createArchiveFromDirectory(
Directory dir, {bool includeDirName: true} ) → Archive -
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.