Socket
Book a DemoInstallSign in
Socket

ruby-lzma

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby-lzma

0.4.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

LZMA Ruby bindings

Simple LZMA compression and decompression routines. No features to speak of presently. Works in Ruby 1.8.6+ and JRuby, with compatibility between the two and with other LZMA implementations.

Send questions to mailto:ian@ianlevesque.org

Installation (MRI)

gem install ruby-lzma

OR

git clone http://github.com/ianlevesque/ruby-lzma.git
cd ruby-lzma
rake install

Installation (JRuby)

jruby -S gem install ruby-lzma

Examples

Compressing String Data:

require 'lzma'
compressed = LZMA.compress('data to compress')

Decompressing String Data:

require 'lzma'
decompressed = LZMA.decompress(File.read("compressed.lzma"))

FAQs

Package last updated on 08 Jun 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.