blob: 65e940990cc96dff828b0b69c27ec042ffb3625e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <util/stream/input.h>
#include <util/generic/string.h>
class TLineSplitter final {
public:
explicit TLineSplitter(IInputStream& stream);
size_t Next(TString& st);
private:
IInputStream& Stream_;
bool HasPendingLineChar_ = false;
char PendingLineChar_ = 0;
};
|