Update flow/serialize.h
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
This commit is contained in:
parent
389e289fe4
commit
78f819fb2a
|
@ -635,7 +635,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t size() const { return len; }
|
size_t size() const { return len; }
|
||||||
size_t remainedBytes() const { return end - begin; };
|
size_t remainingBytes() const { return end - begin; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
_Reader(const char* begin, const char* end) : begin(begin), end(end), len(end - begin) {}
|
_Reader(const char* begin, const char* end) : begin(begin), end(end), len(end - begin) {}
|
||||||
|
|
Loading…
Reference in New Issue