25int main(
int argc,
char **argv)
34 JParser<> zap(
"Example program to test byte array I/O.");
40 catch(
const exception &error) {
41 FATAL(error.what() << endl);
47 string s1 =
"hello world";
48 JObjectID<void> o1 = 999;
53 for (
double x = 0.0; x < 10.5; x += 1.0) {
59 l1.push_back(
"hello");
60 l1.push_back(
"world");
70 out << i1 << x1 << s1 << v1 << a1 << l1 << m1 << o1;
72 DEBUG(
"Buffer size " << out.size() << endl);
79 JObjectID<void> o2 = -1;
89 in >> i2 >> x2 >> s2 >> v2 >> a2 >> l2 >> m2 >> o2;