// NewFramer returns a runtime.Framer based on RFC 8742 CBOR Sequences. Each frame contains exactly // one encoded CBOR data item. func NewFramer() runtime.Framer { … } var _ … type framer … func (framer) NewFrameReader(rc io.ReadCloser) io.ReadCloser { … } func (framer) NewFrameWriter(w io.Writer) io.Writer { … } type frameReader … func (fr *frameReader) Read(dst []byte) (int, error) { … } func (fr *frameReader) Close() error { … }