code: func TrytesToTrits(trytes Trytes) (Trits, error) {
  	if err := ValidTrytes(trytes); err != nil {
  		return nil, err
  	}
  	trits := make(Trits, len(trytes)*3)
  	for i := range trytes {
  		idx := strings.Index(TryteAlphabet, string(trytes[i:i+1]))
  		copy(trits[i*3:i*3+3], TryteToTritsLUT[idx])
  	}
  	return trits, nil
  }
docs: // TrytesToTrits converts a slice of trytes into trits.