Browse Source

add WriteBytes

Devel 3 năm trước cách đây
mục cha
commit
a346f284be
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      types/index.d.ts

+ 9 - 0
types/index.d.ts

@@ -242,6 +242,15 @@ interface RNSerialportStatic {
    */
   disconnect(): void;
 
+  /**
+   * Writes bytes to port
+   *
+   * @param {ArrayBuffer} data
+   * @memberof RNSerialportStatic
+   */
+  writeBytes(data: ArrayBuffer );
+
+
   /**
    * Writes string to port
    *