printProtocolPtr function
dynamic
printProtocolPtr(})
Implementation
printProtocolPtr(Pointer<Void> ptrData, int length, {String prefix = "SEND", int protocolStart = 2, int characteristic = 0}) {
List<int> lstData = [];
Pointer<Int8> ptrByte = ptrData as Pointer<Int8>;
for(int i = 0; i < length; i ++) {
lstData.add(ptrByte[i]);
}
printProtocol(lstData, length, prefix: prefix, protocolStart: protocolStart, characteristic: characteristic);
}