Created
November 15, 2019 23:01
-
-
Save vinniefalco/28c688fcba35c1a8de8e0e4dd97dc8ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Parse JSON. | |
This function begins or continues parsing the JSON | |
in the specified buffer. The algorithm processes | |
characters starting from the beginning until one | |
of the following conditions is met: | |
@li All of the characters in the buffer have been | |
parsed, or | |
@li Some of the characters in the buffer have been | |
parsed and the JSON is complete, or | |
@li A parsing error occurs. | |
@param data A pointer to a buffer of `size` | |
characters to parse. | |
@param size The number of characters pointed to | |
by `data`. | |
@param ec Set to the error, if any occurred. | |
@return The number of characters successfully | |
parsed, which may be smaller than `size`. | |
*/ | |
BOOST_JSON_DECL | |
std::size_t | |
write_some( | |
char const* data, | |
std::size_t size, | |
error_code& ec); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment