Closed nokinger closed 8 years ago
Unpacker.Read()
, then get LastReadData
.
thanks yfakariya.
I did something wrong on the c++ send side. I just recognized serializer.Unpack is a blocking call and returns only when a complete message is processed.
There is a ReadAsync
which is aaynchronous(nonblocking) and awaitable. Note that async method has some overhead, and you should use buffering option on Unpacker.Create
.
Closed because it is no response for answer. It is welcome to reopen for further question. Thank you for contribution.
Hi,
in msgpack C++ msgpack::unpacker::next() => returns true if one complete msgpack messege is proccessed.
Is there any counterpart for upacker.next in the msgpack-cli package?