codec

package
v0.0.0-...-83fd405 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 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 {
	protocol.IProtocol
	// contains filtered or unexported fields
}

func ProtoBuf

func ProtoBuf(sizeofRecvBuffer int, sizeofSendBuffer int,
	allocator p.IAllocator, encryptor p.IEncryptor, decryptor p.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