corda/experimental/cpp-serializer/include/colours.h
Katelyn Baker 913ba1d46e
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.
2019-08-15 21:16:20 +01:00

23 lines
454 B
C

//
// Created by Katelyn Baker on 2019-07-04.
//
#ifndef BLOB_INSPECTOR_COLOURS_H
#define BLOB_INSPECTOR_COLOURS_H
/* FOREGROUND */
#define RESET "\x1B[0m"
#define RED "\x1B[31m"
#define GREEN "\x1B[32m"
#define YELLOW "\x1B[33m"
#define BLUE "\x1B[34m"
#define MAGENTA "\x1B[35m"
#define CYAN "\x1B[36m"
#define WHITE "\x1B[37m"
#define BOLD(x) "\x1B[1m" x RESET
#define UNDL(x) "\x1B[4m" x RESET
#endif //BLOB_INSPECTOR_COLOURS_H