bufferToString function

String bufferToString(
  1. Uint8List byteBuffer
)

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();
}