packer_type_length_value

package
v0.0.0-...-214a605 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "tlv"

	LengthBytes = 4
	TypeBytes   = 4
	MaxLength   = 1 << 23
)

Variables

This section is empty.

Functions

func New

func New() packer.Packer

func PackMsgId

func PackMsgId(msgId uint32, value []byte) (body []byte)

func UnpackMsgId

func UnpackMsgId(body []byte) (msgId uint32, value []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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