Skip to content

aonez/bzip2.swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bzip2.swift

What's This?

bzip2.swift the package to easy compress(decompress) bz2 Data in Swift

Deflate and decompress bz2 data was never been as easy.

// Compress data
let compressed = try Data(count: 10).bz2()
let compressed = try BZip2.compress(Data(count: 10))
// Decompress data
let decompressed = try Data(count: 10).fromBZ2()
let decompressed = try BZip2.decompress(Data(count: 10))

TODO

  • Handle files
  • Tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 64.5%
  • Swift 35.5%