packed

package
v2.10.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package packed provides functions to read and write the "packed" compression scheme described at https://capnproto.org/encoding.html#packing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(r io.Reader) io.Reader

NewReader returns a reader that decompresses a packed stream from r.

func Pack

func Pack(dst, src []byte) []byte

Pack appends the packed version of src to dst and returns the resulting slice. len(src) must be a multiple of 8 or Pack panics.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL