mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-13 22:50:19 +02:00
msgpack::sbuffer::data() const
This commit is contained in:
@@ -62,6 +62,12 @@ public:
|
||||
return sbuf->data;
|
||||
}
|
||||
|
||||
const char* data() const
|
||||
{
|
||||
const msgpack_sbuffer* sbuf = static_cast<const msgpack_sbuffer*>(this);
|
||||
return sbuf->data;
|
||||
}
|
||||
|
||||
size_t size() const
|
||||
{
|
||||
const msgpack_sbuffer* sbuf = static_cast<const msgpack_sbuffer*>(this);
|
||||
|
Reference in New Issue
Block a user