Size implements the Datum interface.
()
| 1455 | |
| 1456 | // Size implements the Datum interface. |
| 1457 | func (d *DCollatedString) Size() uintptr { |
| 1458 | return unsafe.Sizeof(*d) + uintptr(len(d.Contents)) + uintptr(len(d.Locale)) + uintptr(len(d.Key)) |
| 1459 | } |
| 1460 | |
| 1461 | // IsComposite implements the CompositeDatum interface. |
| 1462 | func (d *DCollatedString) IsComposite() bool { |