(l *device.DataTypeLayout)
| 36 | } |
| 37 | |
| 38 | func (d *Decoder) alignAndOffset(l *device.DataTypeLayout) { |
| 39 | d.Align(uint64(l.Alignment)) |
| 40 | d.o += uint64(l.Size) |
| 41 | } |
| 42 | |
| 43 | // MemoryLayout returns the MemoryLayout used by the decoder. |
| 44 | func (d *Decoder) MemoryLayout() *device.MemoryLayout { |