mongoose/docs/c-api/mbuf.h/mbuf_resize.md

14 lines
237 B
Markdown
Raw Normal View History

---
title: "mbuf_resize()"
decl_name: "mbuf_resize"
symbol_kind: "func"
signature: |
void mbuf_resize(struct mbuf *, size_t new_size);
---
Resizes an Mbuf.
If `new_size` is smaller than buffer's `len`, the
resize is not performed.