datapack

package
v0.0.0-...-3153823 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package datapack 通讯数据封包与解包

Index

Constants

View Source
const (
	// FlagCompress 负载 payload 被压缩
	FlagCompress = uint16(0x0001)

	// FlagEncrypt 负载 payload 被加密
	FlagEncrypt = uint16(0x0010)
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package fixedlen : header + payload header: '负载长度(U16)' + '标记(U16)' + '自增编号(U16)' + '消息编号(U16)' payload: 负载,即消息内容,使用 codec 进行编码与解码 对于标记见 flag.go
Package fixedlen : header + payload header: '负载长度(U16)' + '标记(U16)' + '自增编号(U16)' + '消息编号(U16)' payload: 负载,即消息内容,使用 codec 进行编码与解码 对于标记见 flag.go

Jump to

Keyboard shortcuts

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