package encoding import "bytes" type Coder interface { Encode(s *string, buf *bytes.Buffer) error Decode(buf *bytes.Buffer) (string, error) }