From dd6a36ea62b8c3e5f20f6d5fd432dec2275aac5a Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 17 Feb 2015 23:40:12 +0100 Subject: o Finally correct decoding of ATT response. --- ByteBuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ByteBuffer.h') 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; } -- cgit v1.2.3