Changeset 1315 in ntrip for trunk/BNC/GPSS
- Timestamp:
- Dec 20, 2008, 2:06:36 PM (16 years ago)
- Location:
- trunk/BNC/GPSS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/gpssDecoder.cpp
r1314 r1315 60 60 if (_mode == MODE_SEARCH) { 61 61 _buffer.clear(); 62 _recordSize = 0; 62 63 } 63 64 _buffer.append(data, dataLen); 64 65 EPOCHHEADER epochHdr;66 65 67 66 unsigned offset = 0; … … 109 108 _mode = MODE_SEARCH; 110 109 } else { 110 EPOCHHEADER epochHdr; 111 111 memcpy(&epochHdr, &_buffer[offset], sizeof(epochHdr)); 112 112 offset += sizeof(epochHdr); -
trunk/BNC/GPSS/gpssDecoder.h
r1314 r1315 14 14 gpssDecoder(); 15 15 virtual ~gpssDecoder(); 16 virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);16 virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg); 17 17 18 18 signals:
Note:
See TracChangeset
for help on using the changeset viewer.