Explorar o código

add WriteBytes

Devel %!s(int64=3) %!d(string=hai) anos
pai
achega
a346f284be
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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
    *