875 B
875 B
Dotzip
Installation
If available in Hex, the package can be installed
by adding dotzip to your list of dependencies in mix.exs:
def deps do
[
{:dotzip, "~> 0.1.0"}
]
end
Decoding Example
create a zip file
cd /tmp
echo test > test
zip test.zip test
extract information
{:ok, file} = :file.read_file("/tmp/test.zip")
Dotzip.decode(file)
Resources
- https://www.loc.gov/preservation/digital/formats/fdd/fdd000362.shtml
- https://pkware.cachefly.net/webdocs/APPNOTE/APPNOTE-6.3.3.TXT
- https://en.wikipedia.org/wiki/ZIP_(file_format)
Notes
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/dotzip.