Bitcoin Core  22.99.0
P2P Digital Currency
no_nul.cpp
Go to the documentation of this file.
1 #include "univalue.h"
2 
3 int main (int argc, char *argv[])
4 {
5  char buf[] = "___[1,2,3]___";
6  UniValue val;
7  return val.read(buf + 3, 7) ? 0 : 1;
8 }
UniValue::read
bool read(const char *raw, size_t len)
Definition: univalue_read.cpp:259
UniValue
Definition: univalue.h:19
univalue.h
main
int main(int argc, char *argv[])
Definition: no_nul.cpp:3