* Try to read binary uint64, and then advance reader. */
| 312 | * Try to read binary uint64, and then advance reader. |
| 313 | */ |
| 314 | [[nodiscard]] std::optional<uint64_t> TryReadUint64LE() |
| 315 | { |
| 316 | auto value = this->PeekUint64LE(); |
| 317 | if (value.has_value()) this->SkipUint64LE(); |
| 318 | return value; |
| 319 | } |
| 320 | /** |
| 321 | * Read binary uint64 using little endian, and advance reader. |
| 322 | * @param def Default value to return, if not enough data. |
nothing calls this directly
no test coverage detected