code: func (txRwSet *TxRwSet) FromProtoBytes(protoBytes []byte) error {
  	protoMsg := &rwset.TxReadWriteSet{}
  	var err error
  	var txRwSetTemp *TxRwSet
  	if err = proto.Unmarshal(protoBytes, protoMsg); err != nil {
  		return err
  	}
  	if txRwSetTemp, err = TxRwSetFromProtoMsg(protoMsg); err != nil {
  		return err
  	}
  	txRwSet.NsRwSets = txRwSetTemp.NsRwSets
  	return nil
  }
docs: // FromProtoBytes deserializes protobytes into TxReadWriteSet proto message and populates 'TxRwSet'