A simple and efficient MsgPack binary serialization library in a self-contained header file from https://github.com/rtsisyk/msgpuck

Dependents:   msgpuck_example

Committer:
yihui
Date:
Wed Nov 26 09:51:18 2014 +0000
Revision:
0:86aa62fedb9b
from https://github.com/xiongyihui/msgpuck/tree/1007efa26a6c11e68be29a56011094755edce888

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 0:86aa62fedb9b 1 /*
yihui 0:86aa62fedb9b 2 * Copyright (c) 2013 MsgPuck Authors
yihui 0:86aa62fedb9b 3 * All rights reserved.
yihui 0:86aa62fedb9b 4 *
yihui 0:86aa62fedb9b 5 * Redistribution and use in source and binary forms, with or
yihui 0:86aa62fedb9b 6 * without modification, are permitted provided that the following
yihui 0:86aa62fedb9b 7 * conditions are met:
yihui 0:86aa62fedb9b 8 *
yihui 0:86aa62fedb9b 9 * 1. Redistributions of source code must retain the above
yihui 0:86aa62fedb9b 10 * copyright notice, this list of conditions and the
yihui 0:86aa62fedb9b 11 * following disclaimer.
yihui 0:86aa62fedb9b 12 *
yihui 0:86aa62fedb9b 13 * 2. Redistributions in binary form must reproduce the above
yihui 0:86aa62fedb9b 14 * copyright notice, this list of conditions and the following
yihui 0:86aa62fedb9b 15 * disclaimer in the documentation and/or other materials
yihui 0:86aa62fedb9b 16 * provided with the distribution.
yihui 0:86aa62fedb9b 17 *
yihui 0:86aa62fedb9b 18 * THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND
yihui 0:86aa62fedb9b 19 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
yihui 0:86aa62fedb9b 20 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
yihui 0:86aa62fedb9b 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
yihui 0:86aa62fedb9b 22 * <COPYRIGHT HOLDER> OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
yihui 0:86aa62fedb9b 23 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
yihui 0:86aa62fedb9b 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
yihui 0:86aa62fedb9b 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
yihui 0:86aa62fedb9b 26 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
yihui 0:86aa62fedb9b 27 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
yihui 0:86aa62fedb9b 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
yihui 0:86aa62fedb9b 29 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
yihui 0:86aa62fedb9b 30 * SUCH DAMAGE.
yihui 0:86aa62fedb9b 31 */
yihui 0:86aa62fedb9b 32
yihui 0:86aa62fedb9b 33 #define MP_SOURCE 1
yihui 0:86aa62fedb9b 34 #include "msgpuck.h"