binary

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(n Node) ([]byte, error)

func NewDecoder

func NewDecoder(data []byte) *binaryDecoder

func NewEncoder

func NewEncoder() *binaryEncoder

Types

type Node

type Node struct {
	Description string
	Attributes  map[string]string
	Content     interface{}
}

func Unmarshal

func Unmarshal(data []byte) (*Node, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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