README ¶ Go bindings for liblz4. Minimal, static, up-to-date (via git submodule) Go bindings for liblz4. These bindings have been released under the public domain. Use however you feel like, but remember to respect liblz4's 2-Clause BSD license. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Reader func NewReader(r io.Reader) *Reader func (r *Reader) Close() error func (r *Reader) Read(buf []byte) (int, error) type Writer func NewWriter(w io.Writer) *Writer func (w *Writer) Close() error func (w *Writer) Write(buf []byte) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Reader ¶ type Reader struct { // contains filtered or unexported fields } func NewReader ¶ func NewReader(r io.Reader) *Reader func (*Reader) Close ¶ func (r *Reader) Close() error func (*Reader) Read ¶ func (r *Reader) Read(buf []byte) (int, error) type Writer ¶ type Writer struct { // contains filtered or unexported fields } func NewWriter ¶ func NewWriter(w io.Writer) *Writer func (*Writer) Close ¶ func (w *Writer) Close() error func (*Writer) Write ¶ func (w *Writer) Write(buf []byte) (int, error) Source Files ¶ View all Source files cgo.go reader.go writer.go Click to show internal directories. Click to hide internal directories.