Gems/EMotionFX/Code/MCore/Source/MemoryFile.cpp
bool MemoryFile::Forward(size_t numBytes)
    {
        uint8* newPos = m_currentPos + numBytes;
        if (newPos > (m_memoryStart + m_length))
        {
            return false;
        }

        m_currentPos = newPos;
        return true;
    }
// seek a given number of bytes ahead from it's current position
seek a given number of bytes ahead from it's current position
seek a given number of bytes ahead from it ' s current position
bool MemoryFile::Forward(size_t numBytes)
    {
        uint8* newPos = m_currentPos + numBytes;
        if (newPos > (m_memoryStart + m_length))
        {
            return false;
        }
        m_currentPos = newPos;
        return true;
    }
bool MemoryFile :: Forward ( size_t numBytes ) { uint8 * newPos = m_currentPos + numBytes ; if ( newPos > ( m_memoryStart + m_length ) ) { return false ; } m_currentPos = newPos ; return true ; }
seek a given number of bytes ahead from it's current position
seek a given number of bytes ahead from it ' s current position