bertlv

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(t, v []byte) []byte

func PutValLen

func PutValLen(buf []byte, x int) int

func ValLen

func ValLen(buf []byte) (int, int, error)

Types

type TLV

type TLV struct {
	Tag      []byte
	Value    []byte
	Children []*TLV
}

func Decode

func Decode(buf []byte) (int, *TLV, error)

func (*TLV) String

func (tlv *TLV) String() string

Jump to

Keyboard shortcuts

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