bencode

package
Version: v0.0.0-...-f34eb16 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	I     = byte('i')
	E     = byte('e')
	L     = byte('l')
	D     = byte('d')
	COLON = byte(':')
)

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) (data []byte, err error)

func Unmarshal

func Unmarshal(data []byte, v interface{}) (err error)

func UnmarshalWithRaw

func UnmarshalWithRaw(data []byte, v interface{}, rawproperty string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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