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:
parent
77c93edc13
commit
bf73487abc
3 changed files with 48 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue