WPILibC++  unspecified
nt::WireEncoder Class Reference

Public Member Functions

 WireEncoder (unsigned int proto_rev)
 
void set_proto_rev (unsigned int proto_rev)
 
unsigned int proto_rev () const
 
void Reset ()
 
const char * error () const
 
const char * data () const
 
size_t size () const
 
llvm::StringRef ToStringRef () const
 
void Write8 (unsigned int val)
 
void Write16 (unsigned int val)
 
void Write32 (uint32_t val)
 
void WriteDouble (double val)
 
void WriteUleb128 (uint32_t val)
 
void WriteType (NT_Type type)
 
void WriteValue (const Value &value)
 
void WriteString (llvm::StringRef str)
 
size_t GetValueSize (const Value &value) const
 
size_t GetStringSize (llvm::StringRef str) const
 

Protected Attributes

unsigned int m_proto_rev
 
const char * m_error
 

The documentation for this class was generated from the following files: