[#node-BlockManager-ReadRawBlock] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::ReadRawBlock :relfileprefix: ../../ :mrdocs: Read the raw, still‐serialized bytes of a block (or a sub‐range) from disk. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:node/BlockManager/ReadRawBlockResult.adoc[ReadRawBlockResult] ReadRawBlock( xref:FlatFilePos.adoc[FlatFilePos] const& pos, std::optional<std::pair<size_t, size_t>> block_part = std::nullopt) const; ---- == Return Value The requested bytes on success, or a ReadRawError on failure. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | Position of the serialized block on disk. | *block_part* | Optional (offset, length) sub‐range of the block to read. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#