com.szsicod.print.io

## 接口 InterfaceAPI

- 所有已知实现类:
    BluetoothAPI, SerialAPI, SocketAPI, USBAPI

      public interface InterfaceAPI

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `closeDevice()`
    `java.lang.Boolean` | `isOpen()`
    `int` | `openDevice()`
    `int` | `readBuffer(byte[] readBuffer, int offsetSize, int readSize, int waitTime)`
    `int` | `writeBuffer(byte[] writeBuffer, int offsetSize, int writeSize, int waitTime)`

- - ### 方法详细资料

    - #### openDevice

          int openDevice()

    - #### closeDevice

          int closeDevice()

    - #### isOpen

          java.lang.Boolean isOpen()

    - #### readBuffer

          int readBuffer(byte[] readBuffer,
                         int offsetSize,
                         int readSize,
                         int waitTime)

    - #### writeBuffer

          int writeBuffer(byte[] writeBuffer,
                          int offsetSize,
                          int writeSize,
                          int waitTime)