Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用jSSC库通过 USB 端口建立连接。我使用 Windows 应用程序 Device Monitoring Studio 来捕获某个 Windows 程序发送到设备的内容。这是捕获的数据的屏幕截图:
这是我的问题:我应该如何在 Java 中声明上面的数据?它应该是一个数组bytes:
bytes
byte[] bytesToSend = {0x10, 0x00, 0x0b, ....