mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
msgpack::sbuffer::data() const
This commit is contained in:
parent
76f18a0ea6
commit
17c2fa5a4e
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue