Size implements the Datum interface.
()
| 1994 | |
| 1995 | // Size implements the Datum interface. |
| 1996 | func (d *DIPAddr) Size() uintptr { |
| 1997 | return unsafe.Sizeof(*d) |
| 1998 | } |
| 1999 | |
| 2000 | // DDate is the date Datum represented as the number of days after |
| 2001 | // the Unix epoch. |