EmbeddedProto  2.0.0
EmbeddedProto is a C++ Protocol Buffer implementation specifically suitable for microcontrollers.
Namespaces | Classes | Enumerations
EmbeddedProto Namespace Reference

Namespaces

 internal
 

Classes

class  boolean
 
class  doublefixed
 
class  Field
 
class  FieldBytes
 
class  FieldString
 
class  FieldTemplate
 
class  fixed32
 
class  fixed64
 
class  floatfixed
 
class  int32
 
class  int64
 
class  MessageInterface
 
class  MessageSizeCalculator
 This class is used in a message to calculate the current serialized size. More...
 
class  ReadBufferInterface
 The pure virtual definition of a message buffer to read from. More...
 
class  ReadBufferSection
 This is a wrapper around a ReadBufferInterface only exposing a given number of bytes. More...
 
class  RepeatedField
 Class template that specifies the interface of an arry with the data type. More...
 
class  RepeatedFieldFixedSize
 A template class that actually holds some data. More...
 
class  sfixed32
 
class  sfixed64
 
class  sint32
 
class  sint64
 
class  uint32
 
class  uint64
 
class  WireFormatter
 This class combines functions to serialize and deserialize messages. More...
 
class  WriteBufferInterface
 The pure virtual definition of a message buffer used for writing . More...
 

Enumerations

enum  Error {
  Error::NO_ERRORS = 0, Error::END_OF_BUFFER = 1, Error::BUFFER_FULL = 2, Error::INVALID_WIRETYPE = 3,
  Error::ARRAY_FULL = 4
}
 This enumeration defines errors which can occur during serialization and deserialization. More...
 

Enumeration Type Documentation

◆ Error

enum EmbeddedProto::Error
strong

This enumeration defines errors which can occur during serialization and deserialization.

Enumerator
NO_ERRORS 

No errors have occurred.

END_OF_BUFFER 

While trying to read from the buffer we ran out of bytes tor read.

BUFFER_FULL 

The write buffer is full, unable to push more bytes in to it.

INVALID_WIRETYPE 

When reading a Wiretype from the tag we got an invalid value.

ARRAY_FULL 

The array is full, it is not possible to push more items in it.