code: func TransfersToBundleEntries(timestamp uint64, transfers ...Transfer) (BundleEntries, error) {
  	entries := BundleEntries{}
  	for i := range transfers {
  		transfer := &transfers[i]
  		msgLength := len(transfer.Message)
  		length := int(math.Ceil(float64(msgLength) / SignatureMessageFragmentSizeInTrytes))
  		if length == 0 {
  			length = 1
  		}
  		addr, err := checksum.RemoveChecksum(transfer.Address)
  		if err != nil {
  			return nil, err
  		}
  
  		transfer.Message = Pad(transfer.Message, length*SignatureMessageFragmentSizeInTrytes)
  
  		bndlEntry := BundleEntry{
  			Address: addr, Value: int64(transfer.Value),
  			Tag: transfer.Tag, Timestamp: timestamp,
  			Length: uint64(length),
  			SignatureMessageFragments: func() []Trytes {
  				splitFrags := make([]Trytes, int(length))
  				for i := 0; i < int(length); i++ {
  					splitFrags[i] = transfer.Message[i*SignatureMessageFragmentSizeInTrytes : (i+1)*SignatureMessageFragmentSizeInTrytes]
  				}
  				return splitFrags
  			}(),
  		}
  
  		entries = append(entries, bndlEntry)
  	}
  
  	return entries, nil
  }
docs: // TransfersToBundleEntries translates transfers to bundle entries.