Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
To enable these use-cases, the body type __buffer_body__ is provided. This body uses a caller-provided pointer and size instead of an owned container. To use this body, instantiate an instance of the serializer and fill in the pointer and size fields before calling a stream write function.为支持这类使用场景,该库提供了 __buffer_body__ 消息体类型。该消息体使用调用方提供的指针和大小,而非自身拥有的容器。使用此消息体时,需要先实例化一个序列化器,并在调用流写入函数之前填充指针和大小字段。