bufferToString function
Implementation
String bufferToString(Uint8List byteBuffer) {
var buffer = StringBuffer();
if (byteBuffer.isNotEmpty) {
for (var item in byteBuffer) {
buffer.write("0x${item.toRadixString(16)} ");
}
}
return buffer.toString();
}