Qore msgpack Module  1.0.0
msgpack::MsgPackExtension Class Reference

MessagePack extension wrapper class. More...

Public Member Methods

 constructor (int extType, binary bin)
 Creates the MsgPackExtension object. More...
 
binary getData ()
 Get extension's binary data. More...
 
int getExtType ()
 Get extension type ID. More...
 
int size ()
 Get extension's data size. More...
 

Detailed Description

MessagePack extension wrapper class.

Member Function Documentation

◆ constructor()

msgpack::MsgPackExtension::constructor ( int  extType,
binary  bin 
)

Creates the MsgPackExtension object.

Parameters
extTypeextension type
binextension's binary data
Exceptions
INVALID-EXT-TYPEinvalid extension type

◆ getData()

binary msgpack::MsgPackExtension::getData ( )

Get extension's binary data.

Returns
extension's binary data

◆ getExtType()

int msgpack::MsgPackExtension::getExtType ( )

Get extension type ID.

Returns
extension type ID

◆ size()

int msgpack::MsgPackExtension::size ( )

Get extension's data size.

Returns
extension data size

The documentation for this class was generated from the following file: