codec

package
v0.0.0-...-8eade3a Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GZipCompress

func GZipCompress(data []byte) []byte

func GZipUnCompress

func GZipUnCompress(data []byte) ([]byte, error)

Types

type GzipCoder

type GzipCoder struct {
	// contains filtered or unexported fields
}

func NewGzipCoder

func NewGzipCoder(critical int) *GzipCoder

func (*GzipCoder) Decode

func (c *GzipCoder) Decode(msg arpc.Message) arpc.Message

func (*GzipCoder) Encode

func (c *GzipCoder) Encode(msg arpc.Message) arpc.Message

Jump to

Keyboard shortcuts

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