[Nearby Connections][C++] Fix integer comparison and includes

PiperOrigin-RevId: 385222885
This commit is contained in:
Josh Nohle
2021-07-16 14:22:34 -07:00
committed by Copybara-Service
parent ee320905b9
commit 7c1f423014
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -14,6 +14,7 @@
#include "platform/base/input_stream.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
@@ -22,8 +23,9 @@
namespace location {
namespace nearby {
namespace {
constexpr size_t kSkipBufferSize = 64 * 1024;
} // namespace
ExceptionOr<size_t> InputStream::Skip(size_t offset) {
size_t bytes_left = offset;