[#CScriptNum-2constructor-05] = xref:CScriptNum.adoc[CScriptNum]::CScriptNum :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<script/script.h>` Constructs from an integer value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:CScriptNum/2constructor-09.adoc[CScriptNum](int64_t const& n); ---- [.small]#xref:CScriptNum/2constructor-09.adoc[_» more..._]# Constructs from a byte‐vector encoding. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:CScriptNum/2constructor-0e.adoc[CScriptNum]( std::vector<unsigned char> const& vch, bool fRequireMinimal, size_t const nMaxNumSize = nDefaultMaxNumSize); ---- [.small]#xref:CScriptNum/2constructor-0e.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *n* | Initial value. | *vch* | Little‐endian, sign‐magnitude byte encoding of the number. | *fRequireMinimal* | Whether to reject non‐minimal encodings. | *nMaxNumSize* | Maximum allowed size of `vch` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#