x/encoding/coder.go

7 lines
127 B
Go
Raw Normal View History

package encoding
import "io"
type Encoder func(io.Writer, interface{}) error
type Decoder func(io.Reader, interface{}) error