This repository has been archived by the owner on May 25, 2024. It is now read-only.
Translate std::vector<std::byte> into bytes during ABI generation #7
Labels
good first issue
Good for newcomers
In EOSIO ABI generation,
std::vector<TYPE>
is generally translated intoTYPE[]
that means contiguous repeat of TYPE, butstd::vector
specialization foruint8_t, int8_t, char, unsigned char
are treated special by being translated intobytes
that accepts hex string and convert it into byte sequence.Since c++17, new type
std::byte
is supported for storing & accessing byte. Let's translatestd::vector<std::byte>
intobytes
also.You can start from:
https://github.com/turnpike/blanc/blob/bebefb3d/tools/include/eosio/gen.hpp#L533-L534
The text was updated successfully, but these errors were encountered: