protobuf-c 1.5.1
Protocol Buffers implementation in C
ProtobufCBinaryData Struct Reference

Structure for the protobuf bytes scalar type. More...

Data Fields

size_t len
 Number of bytes in the data field.
 
uint8_t * data
 Data bytes.
 

Detailed Description

Structure for the protobuf bytes scalar type.

The data contained in a ProtobufCBinaryData is an arbitrary sequence of bytes. It may contain embedded NUL characters and is not required to be NUL-terminated.

Field Documentation

◆ len

size_t ProtobufCBinaryData::len

Number of bytes in the data field.

◆ data

uint8_t* ProtobufCBinaryData::data

Data bytes.