binary

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 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