mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-23 15:57:49 +08:00
e91a7c9599
PUBLISHED_FROM=da1faa9b46cd0ff22dcba6d324b5847c4a0d42d8
21 lines
618 B
Markdown
21 lines
618 B
Markdown
---
|
|
title: "Memory Buffers"
|
|
symbol_kind: "intro"
|
|
decl_name: "mbuf.h"
|
|
items:
|
|
- { type: file, name: mbuf_init.md }
|
|
- { type: file, name: mbuf_free.md }
|
|
- { type: file, name: mbuf_append.md }
|
|
- { type: file, name: mbuf_insert.md }
|
|
- { type: file, name: mbuf_remove.md }
|
|
- { type: file, name: mbuf_resize.md }
|
|
- { type: file, name: mbuf_trim.md }
|
|
- { type: file, 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.
|
|
|