package encoding

import "bytes"

type Coder interface {
	Encode(s *string, buf *bytes.Buffer) error
	Decode(buf *bytes.Buffer) (string, error)
	EncodesInto(s *string) int
	DecodesInto(buf *bytes.Buffer) int
}
