Matlab Simulink/LQ_Target_1500S_V4_0_grt_Output/LQ_ODK/src_odk_helpers/ODK_CpuReadData.cpp
void CODK_CpuReadData::SetBuffer(long     nBytes, 
                                 ODK_BYTE data[])
{
    if (0 == data)
    {
        m_nBytes = 0;
    }
    else
    {
        m_nBytes = nBytes;
    }
    m_data = data;
}
//
// ODK_SetBuffer : Initializes the input data area and data size
//
ODK_SetBuffer : Initializes the input data area and data size
ODK_SetBuffer : Initializes the input data area and data size
void CODK_CpuReadData::SetBuffer(long     nBytes, 
                                 ODK_BYTE data[])
{
    if (0 == data)
    {
        m_nBytes = 0;
    }
    else
    {
        m_nBytes = nBytes;
    }
    m_data = data;
}
void CODK_CpuReadData :: SetBuffer ( long nBytes , ODK_BYTE data [ ] ) { if ( 0 == data ) { m_nBytes = 0 ; } else { m_nBytes = nBytes ; } m_data = data ; }
ODK_SetBuffer : Initializes the input data area and data size
ODK_SetBuffer : Initializes the input data area and data size