MCPcopy Create free account
hub / github.com/ByConity/ByConity / tryGetFileSizeFromReadBuffer

Function tryGetFileSizeFromReadBuffer

src/IO/WithFileSize.cpp:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44std::optional<size_t> tryGetFileSizeFromReadBuffer(ReadBuffer & in)
45{
46 try
47 {
48 return getFileSizeFromReadBuffer(in);
49 }
50 catch (...)
51 {
52 return std::nullopt;
53 }
54}
55
56}

Callers 1

readSchemaFromFormatImplFunction · 0.85

Calls 1

Tested by

no test coverage detected