code: func IntToTrytes(value int64, trytesCnt int) Trytes {
  	remainder := value
  	if value < 0 {
  		remainder = -value
  	}
  
  	var t Trytes
  
  	for tryte := 0; tryte < trytesCnt; tryte++ {
  		idx := remainder % 27
  		remainder /= 27
  
  		if idx > 13 {
  			remainder += 1
  		}
  
  		if value < 0 && idx != 0 {
  			idx = 27 - idx
  		}
  
  		t += string(TryteAlphabet[idx])
  	}
  	return t
  }
docs: // IntToTrytes converts int64 to a slice of trytes.