BlockHeader.fromRawBlock constructor
Constructs a new block header from a raw block. A raw block would include the first 8 bytes for the magic number and block size fields
dataRawBlockBinary
- The byte array containing the raw block data
Implementation
BlockHeader.fromRawBlock(List<int> dataRawBlockBinary) {
_parseBuffer(dataRawBlockBinary, rawDataRead: true);
}