code: func EncodedLength(value int64) uint64 {
  	if value == 0 {
  		return uint64(len(encodedZero))
  	}
  	length := nearestGreaterMultipleOfThree(MinTrits(value))
  
  	// trits length + encoding length
  	return length + MinTrits((1<<(length/uint64(Radix)))-1)
  }
docs: // EncodedLength returns the length of trits needed to encode the value + encoding information.