aboutsummaryrefslogtreecommitdiff
path: root/ByteBuffer.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-02-17 23:40:12 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-02-17 23:40:12 +0100
commitdd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a (patch)
tree40174dc2bd5ab8342da433eb4adea939c0df712f /ByteBuffer.h
parent08c735d7520e858868bc2c724572139998e39ada (diff)
downloadble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.gz
ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.bz2
ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.tar.xz
ble-toys-dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a.zip
o Finally correct decoding of ATT response.
Diffstat (limited to 'ByteBuffer.h')
-rw-r--r--ByteBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ByteBuffer.h b/ByteBuffer.h
index d1d02bb..a572097 100644
--- a/ByteBuffer.h
+++ b/ByteBuffer.h
@@ -28,7 +28,7 @@ public:
ByteBuffer(const uint8_t *bytes, size_t capacity, size_t zero, size_t size);
inline size_t getSize() const {
- DF << "end=" << (uint64_t)end << ", zero=" << (uint64_t)zero << ", size=" << (end - zero);
+// DF << "end=" << (uint64_t)end << ", zero=" << (uint64_t)zero << ", size=" << (end - zero);
return end - zero;
}
@@ -46,7 +46,7 @@ public:
}
inline void skip(size_t length) {
- checkAndUpdateEnd(length);
+// checkAndUpdateEnd(length);
ptr += length;
}