Sodaq_AT_Device.cpp
void Sodaq_AT_Device::initBuffer()
{
    debugPrintLn("[initBuffer]");

    // make sure the buffers are only initialized once
    if (!_isBufferInitialized) {
        this->_inputBuffer = static_cast<char*>(malloc(this->_inputBufferSize));

        _isBufferInitialized = true;
    }
}
// Initializes the input buffer and makes sure it is only initialized once.
// Safe to call multiple times.
Initializes the input buffer and makes sure it is only initialized once.
Safe to call multiple times.
Initializes the input buffer and makes sure it is only initialized once . Safe to call multiple times .
void Sodaq_AT_Device::initBuffer()
{
    debugPrintLn("[initBuffer]");
    if (!_isBufferInitialized) {
        this->_inputBuffer = static_cast<char*>(malloc(this->_inputBufferSize));
        _isBufferInitialized = true;
    }
}
void Sodaq_AT_Device :: initBuffer ( ) { debugPrintLn ( " " ) ; if ( ! _isBufferInitialized ) { this -> _inputBuffer = static_cast < char * > ( malloc ( this -> _inputBufferSize ) ) ; _isBufferInitialized = true ; } }
Initializes the input buffer and makes sure it is only initialized once.
Initializes the input buffer and makes sure it is only initialized once .
// make sure the buffers are only initialized once