| 1492 | { |
| 1493 | public: |
| 1494 | input_buffer_adapter(const char* b, const std::size_t l) |
| 1495 | : cursor(b), limit(b + l), start(b) |
| 1496 | { |
| 1497 | // skip byte order mark |
| 1498 | if (l >= 3 and b[0] == '\xEF' and b[1] == '\xBB' and b[2] == '\xBF') |
| 1499 | { |
| 1500 | cursor += 3; |
| 1501 | } |
| 1502 | } |
| 1503 | |
| 1504 | // delete because of pointer members |
| 1505 | input_buffer_adapter(const input_buffer_adapter&) = delete; |
nothing calls this directly
no outgoing calls
no test coverage detected