usbio_base_struct.java
来自「usbio Ver 2.40 source code!!! 做USB开发的值得」· Java 代码 · 共 26 行
JAVA
26 行
package de.thesycon.usbio.structs;
/**
* The USBIO_BASE_STRUCT class is the base class of USBIO struct classes.
*/
public abstract class USBIO_BASE_STRUCT {
protected int Size;
/**
* Parse the byte array unf fill out the members of the USBIO struct.
*
* @param Bytes The byte array with the raw data.
*/
public abstract void parseByteArray(byte[] Bytes);
/**
* Builds a byte array from the members of the USBIO struct.
*/
public abstract byte[] buildByteArray();
/**
* Returns the size in bytes of the USBIO struct.
*/
public int getSize() {return Size;}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?