MCPcopy Create free account
hub / github.com/boostorg/json / write

Method write

example/validate.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 std::size_t
72 write(
73 char const* data,
74 std::size_t size,
75 boost::system::error_code& ec)
76 {
77 auto const n = p_.write_some( false, data, size, ec );
78 if(! ec && n < size)
79 ec = error::extra_data;
80 return n;
81 }
82};
83
84bool

Callers 2

parse_fileFunction · 0.45
validateFunction · 0.45

Calls 1

write_someMethod · 0.45

Tested by

no test coverage detected