dco_decode_b_characteristic method
Implementation
@protected
BCharacteristic dco_decode_b_characteristic(dynamic raw) {
// Codec=Dco (DartCObject based), see doc to use other codecs
final arr = raw as List<dynamic>;
if (arr.length != 2)
throw Exception('unexpected arr length: expect 2 but see ${arr.length}');
return BCharacteristic(
uuid: dco_decode_Uuid(arr[0]),
serviceUuid: dco_decode_Uuid(arr[1]),
);
}