1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-17 20:10:03 +02:00

include/libeosio/types.hpp: Adding stream operator functions.

This commit is contained in:
Henrik Hautakoski 2023-03-08 18:15:23 +01:00
parent 77c93edc13
commit bf73487abc
3 changed files with 48 additions and 0 deletions

View file

@ -24,6 +24,7 @@
#ifndef LIBEOSIO_TYPES_H
#define LIBEOSIO_TYPES_H
#include <iostream>
#include <array>
namespace libeosio {
@ -63,4 +64,10 @@ typedef struct { unsigned char data[32]; } sha256_t;
} // namespace libeosio
// Stream operators
std::ostream& operator<<(std::ostream& os, const libeosio::ec_privkey_t& pk);
std::ostream& operator<<(std::ostream& os, const libeosio::ec_pubkey_t& pk);
#endif /* LIBEOSIO_TYPES_H */