binary

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 8 Imported by: 7

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