codec

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package codec contains sub-packages with different codecs that can be used to encode and decode entities in Scribble.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MarshalUnmarshaler

type MarshalUnmarshaler interface {
	Marshal(v interface{}) ([]byte, error)
	Unmarshal(b []byte, v interface{}) error
	// name of this codec
	Name() string
}

MarshalUnmarshaler represents a codec used to marshal and unmarshal entities.

Directories

Path Synopsis
Package binary contains a codec to encode and decode entities in binary format
Package binary contains a codec to encode and decode entities in binary format
Package json contains a codec to encode and decode entities in JSON format
Package json contains a codec to encode and decode entities in JSON format

Jump to

Keyboard shortcuts

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