cst_encode_b_characteristic method

  1. @protected
JSAny cst_encode_b_characteristic(
  1. BCharacteristic raw
)

Implementation

@protected
JSAny cst_encode_b_characteristic(BCharacteristic raw) {
  // Codec=Cst (C-struct based), see doc to use other codecs
  return [cst_encode_Uuid(raw.uuid), cst_encode_Uuid(raw.serviceUuid)]
      .jsify()!;
}