Skip to content

Can msgpack::unpack support advanced buffer like boost::asio::streambuf in msgpack-c-cpp-3.1.1? #752

@nobody93

Description

@nobody93

Hi,

I fixed segmentation issue (issue 750) by changing to use following unpack statements, it seems that unpack only worked for raw buffer, it could not compile for boost::asio::streambuf:

boost::asio::streambuf sb;
msgpack::object_handle oh = msgpack::unpack(sb, size);

error: no matching function for call to ‘unpack(boost::asio::streambuf&, int)’

Any luck I can use unpack for boost::asio::streambuf?

BTW, are there any msgpack forum or mailing list for asking C++ msgpack questions?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions