code: func UnmarshalPayload(encoded []byte) (*cb.Payload, error) {
  	payload := &cb.Payload{}
  	err := proto.Unmarshal(encoded, payload)
  	return payload, errors.Wrap(err, "error unmarshaling Payload")
  }
docs: // UnmarshalPayload unmarshals bytes to a Payload structure