| 8 | #include <cstring> |
| 9 | |
| 10 | char *nextfield(char *p) { |
| 11 | if (p) { |
| 12 | while ((*p != '\t') && (*p != '\0') && (*p != '\r') && (*p != '\n')) { |
| 13 | p++; |
| 14 | } |
| 15 | } |
| 16 | if (*p == '\t') p++; |
| 17 | return p; |
| 18 | } |
| 19 | |
| 20 | bool BVRFile::verifyFormat(std::vector<char> &buf) { |
| 21 | return find_str_in_buf("BVRAW_FORMAT_1", buf); |