Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
std::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
readSchemaFromFormatImpl
Function · 0.85
Calls
1
getFileSizeFromReadBuffer
Function · 0.85
Tested by
no test coverage detected