|
|
Variant | libvariant::DeserializeGuess (const std::string &str) |
| |
|
Variant | libvariant::DeserializeGuess (const char *str) |
| |
|
Variant | libvariant::DeserializeGuess (const void *ptr, unsigned len) |
| |
|
Variant | libvariant::DeserializeGuessFile (const char *filename) |
| |
|
Variant | libvariant::DeserializeGuessFile (FILE *f) |
| |
|
Variant | libvariant::DeserializeGuessFile (std::streambuf *sb) |
| |
These functions attempt to guess the type of the input. The guessing function only looks at the first non-whitespace character to make the decision. As such on sufficiently badly behaved input can select the wrong format.