()
| 428 | } |
| 429 | |
| 430 | func (fc *frameCache) getDataFrame() *DataFrame { |
| 431 | if fc == nil { |
| 432 | return &DataFrame{} |
| 433 | } |
| 434 | return &fc.dataFrame |
| 435 | } |
| 436 | |
| 437 | // NewFramer returns a Framer that writes frames to w and reads them from r. |
| 438 | func NewFramer(w io.Writer, r io.Reader) *Framer { |