mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
[Nearby Connections][C++] Fix integer comparison and includes
PiperOrigin-RevId: 385222885
This commit is contained in:
committed by
Copybara-Service
parent
ee320905b9
commit
7c1f423014
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user