Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lzfse

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lzfse

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

lzfse.rb

CI Gem Version

Ruby bindings for Apple's reference implementation of LZFSE.

Bindings are also provided for the internal LZVN APIs.

Usage

You'll need the gem:

gem install lzfse

Then, use the four public APIs:

require "lzfse"

# LZFSE
compressed = LZFSE.lzfse_compress "please compress this string"
LZFSE.lzfse_decompress compressed

# LZVN
compressed = LZFSE.lzvn_compress "please also compress this string!"
LZFSE.lzvn_compress compressed

Each API takes a single string and returns a string.

License

lzfse.rb is licensed under the MIT license.

Apple's reference implementation of LZFSE is licensed under the 3-clause BSD license.

FAQs

Package last updated on 14 Sep 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc