coda

package
v0.0.0-...-116e3e9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLASS_UNIVERSAL        = 0
	CLASS_APPLICATION      = 1
	CLASS_CONTEXT_SPECIFIC = 2
	CLASS_PRIVATE          = 3
)

Variables

This section is empty.

Functions

func DecodeHeader

func DecodeHeader(data []byte, h *Header) (rest []byte, err error)

func DecodeLength

func DecodeLength(data []byte, size *int) (rest []byte, err error)

func EncodeHeader

func EncodeHeader(data []byte, h *Header) ([]byte, error)

func EncodeLength

func EncodeLength(data []byte, size int) ([]byte, error)

Length

func EqualHeaders

func EqualHeaders(a, b Header) bool

Types

type Header struct {
	Class      int
	Tag        int
	IsCompound bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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