Encodes an integer as a little‐endian, sign‐magnitude byte vector.
Synopsis
Declared in <script/script.h>
static
std::vector<unsigned char>
serialize(int64_t const& value);
Return Value
The minimal byte encoding of value (empty for zero).
Parameters
Name |
Description |
value |
Integer to encode. |
Created with MrDocs