--------------------------------- File::GetSize Get the size of the file in bytes
| 228 | // Get the size of the file in bytes |
| 229 | // |
| 230 | uint64 File::GetSize() |
| 231 | { |
| 232 | int64 size; |
| 233 | if (!FILE_BASE::GetEntrySize(m_Handle, size)) |
| 234 | { |
| 235 | LOG("Getting File size failed", Error); |
| 236 | return std::numeric_limits<uint64>::max(); |
| 237 | } |
| 238 | |
| 239 | return static_cast<uint64>(size); |
| 240 | } |
| 241 | |
| 242 | //--------------------------------- |
| 243 | // File::Delete |
no outgoing calls
no test coverage detected