capnp - how to write plain serialized message to a file

353 Views Asked by At

I have build the example of the AddressBook from Example Usage. It worked as expected I serialized it in the packed format writePackedMessageToFd(fd, message), but when I tried to serialize it in the 'plain' format writeMessageToFd(fd, message)

it kept producing empty file... I feel that I'm missing something...

1

There are 1 best solutions below

0
On BEST ANSWER

This was just a confusion, the file was written only i couldn't see it in eclipse internal reader.