Skip to content

brown/snappy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Snappy

A Common Lisp implementation of Google's Snappy data compression library. The original name for Google's Snappy compression library was Zippy.

The Snappy API

compress buffer index limit

Compresses the contents of BUFFER, a vector of (UNSIGNED-BYTE 8), from position
INDEX to position LIMIT.  Returns two values, a vector of type (UNSIGNED-BYTE 8)
holding the compressed data and an integer indicating the number of
compressed octets in the vector.

maximum-compressed-length uncompressed-length

Returns the maximum size a vector of length UNCOMPRESSED-LENGTH may take up
after it is compressed.

uncompress buffer index limit

Uncompresses BUFFER, a vector of (UNSIGNED-BYTE 8), from position INDEX to
LIMIT.  Returns the uncompressed data as a vector of (UNSIGNED-BYTE 8).

uncompressed-length buffer index limit

Returns the uncompressed length of the compressed data stored in BUFFER from
position INDEX to LIMIT.

For more information, see the documentation strings in snappy.lisp, the example code in snappy-test.lisp, and Google's GitHub Snappy page.

About

Common Lisp implementation of Google's Snappy data compression library, which is also known as Zippy compression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published