[#btck_block_create] = btck_block_create :mrdocs: Parse a serialized raw block into a new block object. == Synopsis Declared in `<kernel/bitcoinkernel.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:btck_Block-04.adoc[btck_Block]* btck_block_create( void const* raw_block, size_t raw_block_len); ---- == Return Value The allocated block, or null on error. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *raw_block* [in] | Serialized block. | *raw_block_len* [in] | Length of the serialized block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#