code: func (a int64Amount) AsCanonicalBase1024Bytes(out []byte) (result []byte, exponent int32) {
  	value, ok := a.AsScaledInt64(0)
  	if !ok {
  		return infDecAmount{a.AsDec()}.AsCanonicalBase1024Bytes(out)
  	}
  	amount, exponent := removeInt64Factors(value, 1024)
  	return strconv.AppendInt(out, amount, 10), exponent
  }
docs: // AsCanonicalBase1024Bytes accepts a buffer to write the base-1024 string value of this field to, and returns
  // either that buffer or a larger buffer and the current exponent of the value. 2048 is 2 * 1024 ^ 1 and would
  // return []byte("2048"), 1.