Changeset 1222 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Nov 22, 2008, 2:09:45 PM (16 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3coDecoder.cpp
r1218 r1222 109 109 // 110 110 //////////////////////////////////////////////////////////////////////////// 111 t_irc RTCM3coDecoder::Decode(char* buffer, int bufLen, vector<string>& errmsg) { 111 t_irc RTCM3coDecoder::Decode(char* buffer, int /* bufLen */, 112 vector<string>& errmsg) { 112 113 113 114 errmsg.clear(); 114 115 115 _buffer.append(buffer , bufLen);116 _buffer.append(buffer); 116 117 117 118 t_irc retCode = failure; … … 198 199 printLine(line, coTime); 199 200 } 200 _buffer = _buffer. substr(bytesused);201 _buffer = _buffer.mid(bytesused); 201 202 retCode = success; 202 203 } … … 205 206 // --------------- 206 207 else { 207 _buffer = _buffer. substr(1);208 _buffer = _buffer.mid(1); 208 209 } 209 210 } -
trunk/BNC/RTCM3/RTCM3coDecoder.h
r1218 r1222 56 56 QString _fileNameSkl; 57 57 QString _fileName; 58 std::string_buffer;58 QByteArray _buffer; 59 59 ClockOrbit _co; 60 60 Bias _bias;
Note:
See TracChangeset
for help on using the changeset viewer.