|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Protocol Buffers wire codec (DETWS_ENABLE_PROTOBUF) - zero-heap streaming writer. More...
#include "ServerConfig.h"Go to the source code of this file.
Protocol Buffers wire codec (DETWS_ENABLE_PROTOBUF) - zero-heap streaming writer.
Wire format (https://protobuf.dev/programming-guides/encoding/):
(field_number << 3) | wire_type then the value.(n << 1) ^ (n >> 31|63).The writer encodes one field at a time into a caller buffer (fail-closed on overflow); embedded messages are built into a separate buffer and added with pb_bytes. The reader is a cursor: it decodes the field at the buffer head and reports bytes consumed.
Definition in file protobuf.h.