codec

package
v0.0.0-...-bac99df Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PH = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoBufProtocol

type ProtoBufProtocol struct {
	v3.IProtocol
	// contains filtered or unexported fields
}

func ProtoBuf

func ProtoBuf(sizeofRecvBuffer int, sizeofSendBuffer int,
	allocator proto.IAllocator, encryptor proto.IEncryptor, decryptor proto.IDecryptor) *ProtoBufProtocol

func (*ProtoBufProtocol) NewCodec

func (p *ProtoBufProtocol) NewCodec(rw io.ReadWriter) (link.Codec, error)

Jump to

Keyboard shortcuts

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