sajson
High-Performance JSON Parser
Public Member Functions | List of all members
sajson::string Class Reference

A simple type encoding a pointer to some memory and a length (in bytes). More...

#include <sajson.h>

Inheritance diagram for sajson::string:
Inheritance graph
[legend]

Public Member Functions

 string (const char *text, size_t length)
 
const char * data () const
 
size_t length () const
 
std::string as_string () const
 

Detailed Description

A simple type encoding a pointer to some memory and a length (in bytes).

Does not maintain any memory.


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