[#CScriptNum-serialize] = xref:CScriptNum.adoc[CScriptNum]::serialize :relfileprefix: ../ :mrdocs: Encodes an integer as a little‐endian, sign‐magnitude byte vector. == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::vector<unsigned char> serialize(int64_t const& value); ---- == Return Value The minimal byte encoding of `value` (empty for zero). == Parameters [cols="1,4"] |=== | Name| Description | *value* | Integer to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#