encoding: remove duplicate buf() and get() methods from Buffer class
Change-Id: If885d4199d6c9df9b9b46664c3641c9a14a77eab
diff --git a/tests/unit-tests/data.t.cpp b/tests/unit-tests/data.t.cpp
index fabd22c..91d46f9 100644
--- a/tests/unit-tests/data.t.cpp
+++ b/tests/unit-tests/data.t.cpp
@@ -194,7 +194,7 @@
}
auto buf = sig.buf();
tlv::writeVarNumber(os, buf->size());
- os.write(reinterpret_cast<const char*>(buf->data()), buf->size());
+ os.write(buf->get<char>(), buf->size());
Block signatureValue(os.buf());
Signature signature(signatureInfo, signatureValue);