code: func (a infDecAmount) AsCanonicalBase1024Bytes(out []byte) (result []byte, exponent int32) {
  	tmp := &inf.Dec{}
  	tmp.Round(a.Dec, 0, inf.RoundUp)
  	amount, exponent := removeBigIntFactors(tmp.UnscaledBig(), big1024)
  	return append(out, amount.String()...), 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.