mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +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.
22 lines
349 B
Bash
Executable File
22 lines
349 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function cmake_rem_func {
|
|
|
|
rm -f $1/CMakeCache.txt
|
|
rm $1/Makefile
|
|
rm $1/cmake_install.cmake
|
|
rm -rf $1/CMakeFiles
|
|
}
|
|
|
|
rm -f BLOB-INSPECTOR.cbp
|
|
|
|
cmake_rem_func .
|
|
cmake_rem_func ./bin
|
|
cmake_rem_func ./src
|
|
cmake_rem_func ./src/amqp
|
|
cmake_rem_func ./src/amqp/test
|
|
cmake_rem_func ./src/proton
|
|
cmake_rem_func ./src/serialiser
|
|
|
|
|