mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-12-24 14:19:09 +01: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