11 lines
133 B
Go
11 lines
133 B
Go
package codec
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
type I interface {
|
|
MarshalWrite(w io.Writer) (err error)
|
|
UnmarshalRead(r io.Reader) (err error)
|
|
}
|