mirror of
https://github.com/corda/corda.git
synced 2024-12-27 00:21:12 +00:00
913ba1d46e
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.
21 lines
400 B
C++
21 lines
400 B
C++
#pragma once
|
|
|
|
/******************************************************************************/
|
|
|
|
/*
|
|
* Once things are further along this should move into internal
|
|
*/
|
|
|
|
namespace amqp {
|
|
|
|
enum amqp_section_id_t {
|
|
DATA_AND_STOP = 0,
|
|
ALT_DATA_AND_STOP = 1,
|
|
ENCODING = 2
|
|
};
|
|
|
|
}
|
|
|
|
/******************************************************************************/
|
|
|