&#160;(((size) + <a class="el" href="group__lwip__opts__mem.html#ga97343214666ee6dcb18c0bd77b441ea7">MEM_ALIGNMENT</a> - 1U))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate safe memory size for an aligned buffer when using an unaligned type as storage. This includes a safety-margin on (MEM_ALIGNMENT - 1) at the start (e.g. if buffer is u8_t[] and actual data will be u32_t*) </p>

</div>
</div>
<a id="gaef204be511fd32f681b55abc08e9ae18"></a>
<h2 class="memtitle"><span class="permal