tlv

package
v0.0.0-...-15d4781 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: ISC Imports: 1 Imported by: 0

Documentation

Overview

Package TLV provides utilities for working with SIMPLE-TLV structures

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(data []byte, tag byte, optional bool) (body, rest []byte, err error)

Get gets the next TLV from a buffer

func Put

func Put(buf []byte, tag byte, data []byte) ([]byte, error)

Put appends a TLV to a buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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