code: func (b *Blob) Encode(o plumbing.EncodedObject) (err error) {
  	o.SetType(plumbing.BlobObject)
  
  	w, err := o.Writer()
  	if err != nil {
  		return err
  	}
  
  	defer ioutil.CheckClose(w, &err)
  
  	r, err := b.Reader()
  	if err != nil {
  		return err
  	}
  
  	defer ioutil.CheckClose(r, &err)
  
  	_, err = io.Copy(w, r)
  	return err
  }
docs: // Encode transforms a Blob into a plumbing.EncodedObject.