Special case of @a encodeToMemory which assumes tight packing, e.g. no zero padding and dynamic data is encoded in-place. Stack pre: ... Stack post:
| 157 | /// Stack pre: <value0> <value1> ... <valueN-1> <head_start> |
| 158 | /// Stack post: <mem_ptr> |
| 159 | void packedEncode( |
| 160 | TypePointers const& _givenTypes, |
| 161 | TypePointers const& _targetTypes, |
| 162 | bool _encodeAsLibraryTypes = false |
| 163 | ) |
| 164 | { |
| 165 | encodeToMemory(_givenTypes, _targetTypes, false, true, _encodeAsLibraryTypes); |
| 166 | } |
| 167 | |
| 168 | /// Special case of @a encodeToMemory which assumes that everything is padded to words |
| 169 | /// and dynamic data is not copied in place (i.e. a proper ABI encoding). |