mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
NOTICK - Initial work on a non JVM (C++) serialiser (#5368)
Currently, it's more of a blob inspector than a full-blown implementation, but this code does have the ability to understand a Corda serialized blob and build a set of deserialisers to handle a blob. It does this in the same way the native java implementation works by interrogating the types (as per the definition in the envelope) and building recursive type readers that are able to pull the relevant information out of the byte stream. Lots of future work to undertake, but as a starting point its a little bit useful with the scope it could be made much more useful with some work.
This commit is contained in:
15
experimental/cpp-serializer/include/debug.h
Normal file
15
experimental/cpp-serializer/include/debug.h
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
#define AMQP_DEBUG 0
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
#if defined AMQP_DEBUG && AMQP_DEBUG >= 1
|
||||
#define DBG(X) std::cout << X
|
||||
#else
|
||||
#define DBG(X)
|
||||
#endif
|
||||
|
||||
/******************************************************************************/
|
Reference in New Issue
Block a user