| 70 | } |
| 71 | |
| 72 | int dataSourceIO::get_line(char *buf, int maxlen) |
| 73 | { |
| 74 | int len = cicada_get_line(mPb, buf, maxlen); |
| 75 | |
| 76 | while (len > 0 && AfString::isSpace(buf[len - 1])) { |
| 77 | buf[--len] = '\0'; |
| 78 | } |
| 79 | |
| 80 | return len; |
| 81 | } |
| 82 | |
| 83 | int64_t dataSourceIO::seek(int64_t offset, int whence) |
| 84 | { |
no test coverage detected