2016-05-12 04:36:12 +08:00
|
|
|
---
|
|
|
|
title: "Memory Buffers"
|
|
|
|
symbol_kind: "intro"
|
|
|
|
decl_name: "mbuf.h"
|
2016-05-26 18:30:13 +08:00
|
|
|
items:
|
2016-09-01 22:19:01 +08:00
|
|
|
- { name: mbuf_append.md }
|
2016-10-26 18:11:53 +08:00
|
|
|
- { name: mbuf_free.md }
|
|
|
|
- { name: mbuf_init.md }
|
2016-09-01 22:19:01 +08:00
|
|
|
- { name: mbuf_insert.md }
|
|
|
|
- { name: mbuf_remove.md }
|
|
|
|
- { name: mbuf_resize.md }
|
|
|
|
- { name: mbuf_trim.md }
|
|
|
|
- { name: struct_mbuf.md }
|
2016-05-12 04:36:12 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
Mbufs are mutable/growing memory buffers, like C++ strings.
|
2016-07-21 22:58:31 +08:00
|
|
|
Mbuf can append data to the end of a buffer or insert data into arbitrary
|
2016-05-12 04:36:12 +08:00
|
|
|
position in the middle of a buffer. The buffer grows automatically when
|
|
|
|
needed.
|
|
|
|
|