Discover Packages
github.com/zhuquanji/go-xerial-snappy
package
module
Version:
v0.0.0-...-bb955e0
Opens a new window with list of versions in this module.
Published: Jun 9, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
go-xerial-snappy
Xerial-compatible Snappy framing support for golang.
Packages using Xerial for snappy encoding use a framing format incompatible with
basically everything else in existence. This package wraps Go's built-in snappy
package to support it.
Apps that use this format include Apache Kafka (see
https://github.com/dpkp/kafka-python/issues/126#issuecomment-35478921 for
details).
Expand ▾
Collapse ▴
Documentation
¶
Decode decodes snappy data whether it is traditional unframed
or includes the xerial framing format.
Encode encodes data as snappy with no framing header.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.