Size returns the total memory footprint of d in bytes.
()
| 760 | |
| 761 | // Size returns the total memory footprint of d in bytes. |
| 762 | func (d *Decimal) Size() uintptr { |
| 763 | return decimalSize - bigIntSize + d.Coeff.Size() |
| 764 | } |
| 765 | |
| 766 | // Value implements the database/sql/driver.Valuer interface. It converts d to a |
| 767 | // string. |