gob

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodingGOB

type EncodingGOB struct {
}

EncodingGOB is the GOB encoding type

func NewEncodingGOB

func NewEncodingGOB() *EncodingGOB

NewEncodingGOB returns a new EncodingGOB

func (*EncodingGOB) Marshal

func (e *EncodingGOB) Marshal(v interface{}) ([]byte, error)

Marshal converts the input object to a byte array

func (*EncodingGOB) Unmarshal

func (e *EncodingGOB) Unmarshal(data []byte, v interface{}) error

Unmarshal converts the input byte array to an object

Jump to

Keyboard shortcuts

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