Changeset 1222 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Nov 22, 2008, 2:09:45 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3coDecoder.cpp

    r1218 r1222  
    109109//
    110110////////////////////////////////////////////////////////////////////////////
    111 t_irc RTCM3coDecoder::Decode(char* buffer, int bufLen, vector<string>& errmsg) {
     111t_irc RTCM3coDecoder::Decode(char* buffer, int /* bufLen */,
     112                             vector<string>& errmsg) {
    112113
    113114  errmsg.clear();
    114115
    115   _buffer.append(buffer, bufLen);
     116  _buffer.append(buffer);
    116117
    117118  t_irc retCode = failure;
     
    198199        printLine(line, coTime);
    199200      }
    200       _buffer = _buffer.substr(bytesused);
     201      _buffer = _buffer.mid(bytesused);
    201202      retCode = success;
    202203    }
     
    205206    // ---------------
    206207    else {
    207       _buffer = _buffer.substr(1);
     208      _buffer = _buffer.mid(1);
    208209    }
    209210  }
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r1218 r1222  
    5656  QString             _fileNameSkl;
    5757  QString             _fileName;
    58   std::string         _buffer;
     58  QByteArray          _buffer;
    5959  ClockOrbit          _co;
    6060  Bias                _bias;
Note: See TracChangeset for help on using the changeset viewer.