gobx

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gobx Created by xuzhuoxi on 2019-03-25. @author xuzhuoxi

Package gobx Created by xuzhuoxi on 2019-02-16. @author xuzhuoxi

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultDataBlockHandler = bytex.NewDefaultDataBlockHandler()

	DefaultPoolGobCodingHandler = encodingx.NewPoolCodingHandler()
	DefaultPoolGobBuffEncoder   = encodingx.NewPoolBuffEncoder()
	DefaultPoolGobBuffDecoder   = encodingx.NewPoolBuffDecoder()
	DefaultPoolGobBuffCodecs    = encodingx.NewPoolBuffCodecs()
)

Functions

func NewDefaultGobBuffCodecs

func NewDefaultGobBuffCodecs() encodingx.IBuffCodecs

func NewDefaultGobBuffDecoder

func NewDefaultGobBuffDecoder() encodingx.IBuffDecoder

func NewDefaultGobBuffEncoder

func NewDefaultGobBuffEncoder() encodingx.IBuffEncoder

func NewDefaultGobCodingHandler

func NewDefaultGobCodingHandler() encodingx.ICodingHandler

func NewGobBuffCodecs

func NewGobBuffCodecs(handler bytex.IDataBlockHandler) encodingx.IBuffCodecs

func NewGobBuffDecoder

func NewGobBuffDecoder(handler bytex.IDataBlockHandler) encodingx.IBuffDecoder

func NewGobBuffEncoder

func NewGobBuffEncoder(handler bytex.IDataBlockHandler) encodingx.IBuffEncoder

func NewGobCodingHandler

func NewGobCodingHandler() encodingx.ICodingHandler

NewGobCodingHandler 由于复用buff,相同结构体只有第一次才会追加TypeDescriptor

func NewGobCodingHandlerAsync

func NewGobCodingHandlerAsync() encodingx.ICodingHandler

NewGobCodingHandlerAsync 每次都会追加TypeDescriptor到编码中去

func NewGobCodingHandlerSync

func NewGobCodingHandlerSync() encodingx.ICodingHandler

NewGobCodingHandlerSync 由于复用buff,相同结构体只有第一次才会追加TypeDescriptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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