Return the number of bytes in the data area of the current chain block Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | hzChain::BlkIter::Size | (void) |
Declared in file: hzChain.h
Defined in file : hzChain.cpp
Function Logic:
Function body:
uint32_t hzChain::BlkIter::Size (void)
{
// Return the number of bytes in the data area of the current chain block
//
// Arguments: None
//
// Returns: >0 The number of bytes held in (the usage of) the block iterator's current block data space
// 0 If the block iterator is at the end of the chain or the chain is empty
_hzfunc("hzChain::BlkIter::Size") ;
_zblk* zp ; // Block pointer
zp = (_zblk*) m_block ;
if (zp)
return zp->m_nUsage ;
return 0;
}