-
Notifications
You must be signed in to change notification settings - Fork 1
Custom Extensions
Kelly Schultz edited this page Jul 16, 2023
·
1 revision
MessagePack defines two kinds of extensions, standard extensions and user extensions. There is only one standard extension defined at the moment, the timestamp extension (see the mp_timestamp_type
derived type).
In order to provide support for a custom extension, the user must define a type that inherits from mp_value_type
, and also register callback functions for unpacking this type from serialized data.
TODO