WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
nt::WireDecoder Class Reference

Public Member Functions

 WireDecoder (wpi::raw_istream &is, unsigned int proto_rev)
 
void set_proto_rev (unsigned int proto_rev)
 
unsigned int proto_rev () const
 
void Reset ()
 
const char * error () const
 
void set_error (const char *error)
 
bool Read (const char **buf, std::size_t len)
 
bool Read8 (unsigned int *val)
 
bool Read16 (unsigned int *val)
 
bool Read32 (unsigned long *val)
 
bool ReadDouble (double *val)
 
bool ReadUleb128 (unsigned long *val)
 
bool ReadType (NT_Type *type)
 
bool ReadString (std::string *str)
 
std::shared_ptr< ValueReadValue (NT_Type type)
 
 WireDecoder (const WireDecoder &)=delete
 
WireDecoderoperator= (const WireDecoder &)=delete
 

Protected Attributes

unsigned int m_proto_rev
 
const char * m_error
 

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