code: func (s *wrappedSnap) SaveSnap(snapshot raftpb.Snapshot) error {
  	toWrite := snapshot
  	var err error
  	toWrite.Data, err = encryption.Encrypt(snapshot.Data, s.encrypter)
  	if err != nil {
  		return err
  	}
  	return s.Snapshotter.SaveSnap(toWrite)
  }
docs: // SaveSnap encrypts the snapshot data (if an encrypter is exists) before passing it onto the
  // wrapped snap.Snapshotter's SaveSnap function.