NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
utf8_validator.hpp File Reference
#include <websocketpp/common/stdint.hpp>
#include <string>
Include dependency graph for utf8_validator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::utf8_validator::validator
 Provides streaming UTF8 validation functionality. More...
 

Namespaces

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::utf8_validator
 

Functions

uint32_t websocketpp::utf8_validator::decode (uint32_t *state, uint32_t *codep, uint8_t byte)
 Decode the next byte of a UTF8 sequence. More...
 
bool websocketpp::utf8_validator::validate (std::string const &s)
 Validate a UTF8 string. More...
 

Variables

static unsigned int const websocketpp::utf8_validator::utf8_accept = 0
 State that represents a valid utf8 input sequence. More...
 
static unsigned int const websocketpp::utf8_validator::utf8_reject = 1
 State that represents an invalid utf8 input sequence. More...
 
static uint8_t const websocketpp::utf8_validator::utf8d []
 Lookup table for the UTF8 decode state machine. More...