libraries/tonk/include/TonkCppSDK.hpp
inline uint32_t ReadU24_LE_Min4Bytes(const uint8_t* data)
{
#ifdef TONK_CPP_SDK_ALIGNED_ACCESSES
    return ReadU24_LE(data);
#else
    return *(uint32_t*)data & 0xFFFFFF;
#endif
}
/// This version uses one memory read on Intel but requires at least 4 bytes in the buffer
This version uses one memory read on Intel but requires at least 4 bytes in the buffer
This version uses one memory read on Intel but requires at least 4 bytes in the buffer
inline uint32_t ReadU24_LE_Min4Bytes(const uint8_t* data)
{
#ifdef TONK_CPP_SDK_ALIGNED_ACCESSES
    return ReadU24_LE(data);
#else
    return *(uint32_t*)data & 0xFFFFFF;
#endif
}
inline uint32_t ReadU24_LE_Min4Bytes ( const uint8_t * data ) { #ifdef TONK_CPP_SDK_ALIGNED_ACCESSES return ReadU24_LE ( data ) ; #else return * ( uint32_t * ) data & 0xFFFFFF ; #endif }
This version uses one memory read on Intel but requires at least 4 bytes in the buffer
This version uses one memory read on Intel but requires at least 4 bytes in the buffer