mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 07:29:04 +08:00
9a70abef24
CL: Add mbuf_append_and_free() and mbuf_move() PUBLISHED_FROM=bdf73906dd93b2ebeace160596508e15480b54b4
24 lines
607 B
Markdown
24 lines
607 B
Markdown
---
|
|
title: "mbuf.h"
|
|
symbol_kind: "intro"
|
|
decl_name: "mbuf.h"
|
|
items:
|
|
- { name: mbuf_append.md }
|
|
- { name: mbuf_append_and_free.md }
|
|
- { name: mbuf_clear.md }
|
|
- { name: mbuf_free.md }
|
|
- { name: mbuf_init.md }
|
|
- { name: mbuf_insert.md }
|
|
- { name: mbuf_move.md }
|
|
- { name: mbuf_remove.md }
|
|
- { name: mbuf_resize.md }
|
|
- { name: mbuf_trim.md }
|
|
- { name: struct_mbuf.md }
|
|
---
|
|
|
|
Mbufs are mutable/growing memory buffers, like C++ strings.
|
|
Mbuf can append data to the end of a buffer or insert data into arbitrary
|
|
position in the middle of a buffer. The buffer grows automatically when
|
|
needed.
|
|
|