[#btck-Block-2constructor-0f]
= xref:btck.adoc[btck]::xref:btck/Block.adoc[Block]::Block
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

Constructs a block by deserializing raw bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Block/2constructor-0b.adoc[Block](std::span&lt;std::byte const&gt; const raw&lowbar;block);
----

[.small]#xref:btck/Block/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Takes ownership of an existing C block&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Block/2constructor-09.adoc[Block](xref:btck_Block-04.adoc[btck&lowbar;Block]* block);
----

[.small]#xref:btck/Block/2constructor-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *raw&lowbar;block*
| The serialized block bytes&period;
| *block*
| The C handle to own&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
