BZIP2 - Maple Help

Online Help

All Products    Maple    MapleSim


BZIP2 (.bz2) File Format

BZIP2 file format

 

Description

Notes

Examples

Description

• 

BZIP2 is a format for data compression which uses the Burrows-Wheeler compression algorithm.

• 

The Import command can encode and decode data in this format, and the ArrayTools[Compress] and ArrayTools[Uncompress] commands also support it.

Notes

• 

Content-Type: application/zip

Examples

Read the contents of a compressed file.

fileFileTools:-JoinPathexample/newton.bz2,base=datadir

C:\Program Files\Maple 2018\data\example\newton.bz2

(1)

dataImportfile

data73102327332104971181013211510110111032102117114116104101114443210511632105115329812132115116971101001051101033211111032116104101321151041111171081001011141153211110232103105971101161154610

(2)

StringTools:-FromByteArraydata

If I have seen further, it is by standing on the shoulders of giants.

(3)

See Also

FileTools[Compressed]

Formats