code: func CompileFrame(f Frame) (bts []byte, err error) {
  	buf := bytes.NewBuffer(make([]byte, 0, 16))
  	err = WriteFrame(buf, f)
  	bts = buf.Bytes()
  	return
  }
docs: // CompileFrame returns byte representation of given frame.
  // In terms of memory consumption it is useful to precompile static frames
  // which are often used.